Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00136/0.00136, allocations: 116.8 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001534/0.001534, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 230.2 MB / 255.1 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2724/0.2724, allocations: 46.88 MB / 358.1 MB, free: 10.53 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 83.8 kB / 0.4924 GB, free: 8.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1405, allocations: 65.98 MB / 0.5568 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003377/0.1439, allocations: 1.632 MB / 0.5584 GB, free: 4.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.1457, allocations: 1.178 MB / 0.5596 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.951e-05/0.1458, allocations: 0 / 0.5596 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.146, allocations: 15.86 kB / 0.5596 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.1463, allocations: 87.61 kB / 0.5597 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.1466, allocations: 103.6 kB / 0.5598 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.1468, allocations: 75.77 kB / 0.5598 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1469, allocations: 8 kB / 0.5598 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.947e-05/0.1469, allocations: 31.91 kB / 0.5599 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.1471, allocations: 39.78 kB / 0.5599 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.1471, allocations: 4 kB / 0.5599 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.1473, allocations: 107.9 kB / 0.56 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.436e-05/0.1473, allocations: 11.98 kB / 0.56 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.1474, allocations: 31.8 kB / 0.5601 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.1477, allocations: 147.5 kB / 0.5602 GB, free: 2.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.1477, allocations: 0 / 0.5602 GB, free: 2.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1477, allocations: 0 / 0.5602 GB, free: 2.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1477, allocations: 7.875 kB / 0.5602 GB, free: 2.426 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000583/0.1483, allocations: 418.7 kB / 0.5606 GB, free: 1.965 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1483, allocations: 12.03 kB / 0.5606 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.1483, allocations: 8.891 kB / 0.5606 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.1486, allocations: 188.3 kB / 0.5608 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1486, allocations: 384 / 0.5608 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.1486, allocations: 8.375 kB / 0.5608 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.1488, allocations: 79.89 kB / 0.5609 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1488, allocations: 192 / 0.5609 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1488, allocations: 3.938 kB / 0.5609 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1488, allocations: 0 / 0.5609 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.1489, allocations: 31.97 kB / 0.5609 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.1493, allocations: 308.7 kB / 0.5612 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.1494, allocations: 50.5 kB / 0.5613 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.45e-05/0.1495, allocations: 20.97 kB / 0.5613 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1495, allocations: 0 / 0.5613 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.1496, allocations: 38.56 kB / 0.5613 GB, free: 1.109 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.1496, allocations: 0 / 0.5613 GB, free: 1.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.00065/0.1502, allocations: 173.4 kB / 0.5615 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/0.1503, allocations: 81.11 kB / 0.5616 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.1505, allocations: 159.2 kB / 0.5617 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1505, allocations: 29.64 kB / 0.5617 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.1505, allocations: 92.14 kB / 0.5618 GB, free: 0.543 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.1506, allocations: 35.8 kB / 0.5619 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.1506, allocations: 21.72 kB / 0.5619 GB, free: 492 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.1508, allocations: 326.8 kB / 0.5622 GB, free: 156 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.734e-05/0.1509, allocations: 27.98 kB / 0.5622 GB, free: 128 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-05/0.1509, allocations: 37.69 kB / 0.5623 GB, free: 84 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.1511, allocations: 64.77 kB / 0.5623 GB, free: 16 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1511, allocations: 384 / 0.5623 GB, free: 16 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002331/0.1513, allocations: 97.66 kB / 0.5624 GB, free: 15.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1513, allocations: 4 kB / 0.5624 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1514, allocations: 0 / 0.5624 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1514, allocations: 4 kB / 0.5624 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.1515, allocations: 19.98 kB / 0.5624 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1515, allocations: 0 / 0.5624 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.041e-05/0.1515, allocations: 7.984 kB / 0.5624 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.1515, allocations: 4 kB / 0.5625 GB, free: 15.88 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.1516, allocations: 129.7 kB / 0.5626 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.1517, allocations: 7.953 kB / 0.5626 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003166/0.152, allocations: 122.6 kB / 0.5627 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.152, allocations: 0 / 0.5627 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.152, allocations: 3.938 kB / 0.5627 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.152, allocations: 0 / 0.5627 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/0.1525, allocations: 402.3 kB / 0.5631 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1525, allocations: 0 / 0.5631 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.646e-05/0.1526, allocations: 12 kB / 0.5631 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.1526, allocations: 7.984 kB / 0.5631 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1526, allocations: 0 / 0.5631 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1526, allocations: 3.938 kB / 0.5631 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1526, allocations: 0 / 0.5631 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.1529, allocations: 207.4 kB / 0.5633 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/0.153, allocations: 85.05 kB / 0.5634 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.153, allocations: 11.94 kB / 0.5634 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.132e-05/0.1531, allocations: 11.92 kB / 0.5634 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.1531, allocations: 0 / 0.5634 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.1531, allocations: 4 kB / 0.5634 GB, free: 14.78 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.1532, allocations: 121.4 kB / 0.5635 GB, free: 14.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1532, allocations: 0 / 0.5635 GB, free: 14.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.1535, allocations: 43.86 kB / 0.5636 GB, free: 14.62 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001685/0.1552, allocations: 486.7 kB / 0.564 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.1554, allocations: 71.88 kB / 0.5641 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1554, allocations: 0 / 0.5641 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.816e-05/0.1555, allocations: 31.98 kB / 0.5641 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.1559, allocations: 15.98 kB / 0.5642 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005276/0.1564, allocations: 223.5 kB / 0.5644 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.1567, allocations: 0.7001 MB / 0.565 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.501e-05/0.1568, allocations: 23.42 kB / 0.5651 GB, free: 13.2 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1568, allocations: 0 / 0.5651 GB, free: 13.2 MB / 430.1 MB Notification: Performance of Templates: time 0.00461/0.1614, allocations: 2.091 MB / 0.5671 GB, free: 11.11 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.117775095859542]