Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 111.6 kB / 269.9 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.464/0.464, allocations: 43.49 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 47.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1466, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003733/0.1504, allocations: 1.908 MB / 488.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.152, allocations: 0.882 MB / 489.8 MB, free: 9.723 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.764e-05/0.1521, allocations: 0 / 489.8 MB, free: 9.723 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005161/0.1526, allocations: 251.4 kB / 490.1 MB, free: 9.477 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.1529, allocations: 167.6 kB / 490.2 MB, free: 9.312 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.1533, allocations: 139.6 kB / 490.4 MB, free: 9.176 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.1536, allocations: 239.3 kB / 490.6 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.1538, allocations: 25.52 kB / 490.6 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.1539, allocations: 119.6 kB / 490.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.1541, allocations: 171.5 kB / 490.9 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.1542, allocations: 4 kB / 490.9 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1543, allocations: 35.98 kB / 490.9 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.565e-05/0.1544, allocations: 67.69 kB / 491 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.871e-05/0.1545, allocations: 79.36 kB / 491.1 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.1547, allocations: 223.4 kB / 491.3 MB, free: 8.223 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1548, allocations: 4 kB / 491.3 MB, free: 8.219 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1548, allocations: 0 / 491.3 MB, free: 8.219 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1548, allocations: 4 kB / 491.3 MB, free: 8.215 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007545/0.1555, allocations: 0.5563 MB / 491.9 MB, free: 7.609 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1556, allocations: 11.97 kB / 491.9 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.998e-05/0.1557, allocations: 28.56 kB / 491.9 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.156, allocations: 280 kB / 492.2 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.156, allocations: 8.359 kB / 492.2 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.1561, allocations: 16.12 kB / 492.2 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.1563, allocations: 103.2 kB / 492.3 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1563, allocations: 0 / 492.3 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1563, allocations: 0 / 492.3 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.1563, allocations: 4 kB / 492.3 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.1565, allocations: 35.97 kB / 492.3 MB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005637/0.157, allocations: 460.8 kB / 492.8 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.1574, allocations: 109.3 kB / 492.9 MB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.947e-05/0.1575, allocations: 49.69 kB / 492.9 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.1575, allocations: 4 kB / 492.9 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/0.1578, allocations: 105.1 kB / 493.1 MB, free: 6.273 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 3.066e-06/0.1578, allocations: 0 / 493.1 MB, free: 6.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008996/0.1587, allocations: 388.2 kB / 493.4 MB, free: 5.887 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.1588, allocations: 85.05 kB / 493.5 MB, free: 5.785 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004774/0.1593, allocations: 477.7 kB / 494 MB, free: 5.309 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.1593, allocations: 33.7 kB / 494 MB, free: 5.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.1594, allocations: 156.4 kB / 494.2 MB, free: 5.113 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/0.1595, allocations: 47.36 kB / 494.2 MB, free: 5.066 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/0.1595, allocations: 33.7 kB / 494.2 MB, free: 5.027 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1597, allocations: 350.8 kB / 494.6 MB, free: 4.676 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.808e-05/0.1598, allocations: 43.92 kB / 494.6 MB, free: 4.633 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.1599, allocations: 71.41 kB / 494.7 MB, free: 4.551 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.1601, allocations: 123.7 kB / 494.8 MB, free: 4.418 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1601, allocations: 8 kB / 494.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000309/0.1605, allocations: 181.2 kB / 495 MB, free: 4.227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1605, allocations: 8 kB / 495 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1605, allocations: 0 / 495 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1605, allocations: 0 / 495 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.1607, allocations: 35.92 kB / 495 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.1607, allocations: 3.938 kB / 495.1 MB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.1608, allocations: 15.89 kB / 495.1 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.1608, allocations: 8 kB / 495.1 MB, free: 4.156 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001533/0.161, allocations: 173.8 kB / 495.2 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.161, allocations: 31.62 kB / 495.3 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.295e-05/0.1611, allocations: 42.8 kB / 495.3 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1611, allocations: 0 / 495.3 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.1611, allocations: 11.92 kB / 495.3 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1612, allocations: 3.938 kB / 495.3 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007233/0.1619, allocations: 0.6204 MB / 496 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1619, allocations: 0 / 496 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.263e-05/0.162, allocations: 19.94 kB / 496 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.162, allocations: 0 / 496 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.162, allocations: 11.98 kB / 496 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.162, allocations: 7.938 kB / 496 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.162, allocations: 0 / 496 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007893/0.1628, allocations: 1.005 MB / 497 MB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.75e-05/0.1629, allocations: 96.83 kB / 497.1 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.1629, allocations: 8 kB / 497.1 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.163, allocations: 15.92 kB / 497.1 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.1631, allocations: 23.86 kB / 497.1 MB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.1631, allocations: 4 kB / 497.1 MB, free: 1.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003545/0.1635, allocations: 359.1 kB / 497.5 MB, free: 1.578 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1635, allocations: 0 / 497.5 MB, free: 1.578 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004258/0.1639, allocations: 43.91 kB / 497.5 MB, free: 1.535 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001105/0.165, allocations: 473.6 kB / 498 MB, free: 1.121 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002839/0.1653, allocations: 119.8 kB / 498.1 MB, free: 1.004 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1654, allocations: 0 / 498.1 MB, free: 1.004 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.1655, allocations: 60.11 kB / 498.2 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005239/0.166, allocations: 69.14 kB / 498.2 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009917/0.167, allocations: 0.7339 MB / 499 MB, free: 104 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.1674, allocations: 0.7752 MB / 499.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.466e-05/0.1675, allocations: 34.55 kB / 499.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.18e-05/0.1676, allocations: 19.44 kB / 499.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.1676, allocations: 0 / 499.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of Templates: time 0.005933/0.1735, allocations: 2.698 MB / 0.4907 GB, free: 12.55 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches