Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 96.92 kB / 16.99 MB, free: 5.941 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.001241/0.001241, allocations: 181.5 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.446/1.446, allocations: 223.2 MB / 241.8 MB, free: 14.63 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.2208/0.2208, allocations: 44.22 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003356, allocations: 11.94 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1516, allocations: 61.93 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002618/0.1542, allocations: 1.383 MB / 472.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.1561, allocations: 0.792 MB / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.491e-05/0.1562, allocations: 0 / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.1565, allocations: 35.77 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.1567, allocations: 43.88 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.157, allocations: 95.7 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.1571, allocations: 59.86 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.872e-05/0.1573, allocations: 12.22 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.14e-05/0.1573, allocations: 31.86 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.516e-05/0.1574, allocations: 31.84 kB / 473.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.1574, allocations: 0 / 473.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.424e-05/0.1575, allocations: 24 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.065e-05/0.1575, allocations: 27.89 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.1576, allocations: 37.64 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.1577, allocations: 80.11 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1578, allocations: 0 / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1578, allocations: 7.938 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.1578, allocations: 0 / 474.1 MB, free: 11.04 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.0005172/0.1583, allocations: 391 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1583, allocations: 16.02 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.1584, allocations: 15.75 kB / 474.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.1586, allocations: 211.5 kB / 474.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.1587, allocations: 0 / 474.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.1587, allocations: 7.984 kB / 474.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.1588, allocations: 61.62 kB / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1588, allocations: 0 / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.1589, allocations: 0 / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.1589, allocations: 0 / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.251e-05/0.159, allocations: 23.98 kB / 474.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.1593, allocations: 284.9 kB / 475.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.1595, allocations: 58.62 kB / 475.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.1595, allocations: 0 / 475.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.1597, allocations: 71.5 kB / 475.2 MB, free: 9.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1597, allocations: 0 / 475.2 MB, free: 9.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005251/0.1602, allocations: 181 kB / 475.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.1603, allocations: 51.41 kB / 475.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.1605, allocations: 199.3 kB / 475.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.1605, allocations: 29.64 kB / 475.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.454e-05/0.1606, allocations: 104.1 kB / 475.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.1606, allocations: 27.64 kB / 475.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.1606, allocations: 0 / 475.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1608, allocations: 326.8 kB / 476.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.937e-05/0.1608, allocations: 15.98 kB / 476.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.997e-05/0.1609, allocations: 37.7 kB / 476.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.304e-05/0.161, allocations: 31.95 kB / 476.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.161, allocations: 0 / 476.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001663/0.1611, allocations: 93.53 kB / 476.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1612, allocations: 4 kB / 476.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1612, allocations: 7.984 kB / 476.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1612, allocations: 0 / 476.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.954e-05/0.1613, allocations: 12 kB / 476.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1613, allocations: 0 / 476.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.176e-05/0.1614, allocations: 16.02 kB / 476.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1614, allocations: 4 kB / 476.4 MB, free: 8.578 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.0001029/0.1615, allocations: 130.2 kB / 476.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.1615, allocations: 15.81 kB / 476.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.1616, allocations: 17.58 kB / 476.5 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1616, allocations: 0 / 476.5 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1616, allocations: 3.938 kB / 476.5 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1616, allocations: 0 / 476.5 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.162, allocations: 403.4 kB / 476.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1621, allocations: 0 / 476.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.1621, allocations: 11.98 kB / 476.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1621, allocations: 0 / 476.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1621, allocations: 8 kB / 476.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1621, allocations: 0 / 476.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1621, allocations: 384 / 476.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.1624, allocations: 225.8 kB / 477.1 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.1624, allocations: 89 kB / 477.2 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.1625, allocations: 8 kB / 477.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/0.1625, allocations: 4 kB / 477.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.1626, allocations: 7.984 kB / 477.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.1626, allocations: 4 kB / 477.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.1627, allocations: 160.8 kB / 477.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1628, allocations: 0 / 477.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.163, allocations: 27.95 kB / 477.4 MB, free: 7.375 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.0009705/0.164, allocations: 460 kB / 477.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001774/0.1642, allocations: 63.91 kB / 478 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1642, allocations: 0 / 478 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.633e-05/0.1643, allocations: 23.98 kB / 478 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.1645, allocations: 23.98 kB / 478 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/0.165, allocations: 254.4 kB / 478.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.1654, allocations: 0.7082 MB / 479 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.202e-05/0.1655, allocations: 21.17 kB / 479 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.1655, allocations: 15.44 kB / 479 MB, free: 5.945 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1655, allocations: 0 / 479 MB, free: 5.945 MB / 350.1 MB Notification: Performance of Templates: time 0.003902/0.1694, allocations: 1.584 MB / 480.6 MB, free: 4.375 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches