Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 93.12 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.001221, allocations: 181.8 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.231/0.231, allocations: 44.23 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003213, allocations: 8 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1427, allocations: 61.92 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002148/0.1449, allocations: 1.387 MB / 472.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1462, allocations: 0.7919 MB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.88e-05/0.1463, allocations: 4 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.1466, allocations: 71.77 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.1468, allocations: 67.78 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.1471, allocations: 95.7 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.1473, allocations: 71.83 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.462e-05/0.1474, allocations: 8.234 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.296e-05/0.1475, allocations: 43.83 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.145e-05/0.1476, allocations: 43.83 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.1476, allocations: 4 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.242e-05/0.1477, allocations: 27.98 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.138e-05/0.1478, allocations: 23.92 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.1478, allocations: 37.64 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.148, allocations: 88.08 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.148, allocations: 0 / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.148, allocations: 3.938 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.148, allocations: 0 / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005947/0.1486, allocations: 398.9 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1487, allocations: 8.031 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.1487, allocations: 7.906 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.149, allocations: 214.8 kB / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.149, allocations: 4 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.149, allocations: 0 / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.1492, allocations: 57.62 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1492, allocations: 0 / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1492, allocations: 0 / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1492, allocations: 4 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.76e-05/0.1493, allocations: 15.98 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.1497, allocations: 296.8 kB / 475.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.1498, allocations: 62.61 kB / 475.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1499, allocations: 0 / 475.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.1501, allocations: 63.52 kB / 475.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1501, allocations: 0 / 475.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005367/0.1506, allocations: 185.1 kB / 475.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.1507, allocations: 55.41 kB / 475.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.1509, allocations: 215.2 kB / 475.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1509, allocations: 29.64 kB / 475.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.151, allocations: 108.1 kB / 475.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.151, allocations: 31.58 kB / 475.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.151, allocations: 4 kB / 475.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1511, allocations: 330.8 kB / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.084e-05/0.1512, allocations: 15.98 kB / 476.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.926e-05/0.1513, allocations: 33.7 kB / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.863e-05/0.1513, allocations: 31.95 kB / 476.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1513, allocations: 0 / 476.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001705/0.1515, allocations: 101.4 kB / 476.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1515, allocations: 4 kB / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1516, allocations: 32 / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1516, allocations: 8 kB / 476.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.624e-05/0.1517, allocations: 12 kB / 476.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1517, allocations: 0 / 476.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.933e-05/0.1517, allocations: 11.98 kB / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1518, allocations: 4 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.1519, allocations: 129.5 kB / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.1519, allocations: 19.8 kB / 476.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.152, allocations: 21.39 kB / 476.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.152, allocations: 8 kB / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.152, allocations: 0 / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.152, allocations: 0 / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.1525, allocations: 399.3 kB / 477 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1525, allocations: 0 / 477 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.191e-05/0.1525, allocations: 8 kB / 477.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.1525, allocations: 0 / 477.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1525, allocations: 0 / 477.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1525, allocations: 8.031 kB / 477.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1525, allocations: 0 / 477.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.1529, allocations: 218.1 kB / 477.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.77e-05/0.153, allocations: 92.91 kB / 477.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.153, allocations: 4.375 kB / 477.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.1531, allocations: 8 kB / 477.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.1531, allocations: 11.98 kB / 477.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.1532, allocations: 4 kB / 477.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1533, allocations: 159.2 kB / 477.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1533, allocations: 192 / 477.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000249/0.1536, allocations: 27.94 kB / 477.6 MB, free: 7.266 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001002/0.1546, allocations: 464.3 kB / 478 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.1548, allocations: 59.89 kB / 478.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1548, allocations: 0 / 478.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.597e-05/0.1548, allocations: 24 kB / 478.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.1551, allocations: 23.97 kB / 478.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.1556, allocations: 262.2 kB / 478.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.1559, allocations: 0.716 MB / 479.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.223e-05/0.1559, allocations: 17.19 kB / 479.1 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.156, allocations: 15.42 kB / 479.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.156, allocations: 4 kB / 479.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of Templates: time 0.004093/0.1601, allocations: 1.594 MB / 480.7 MB, free: 4.238 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches