Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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 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 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 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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00084/0.0008403, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009516/0.0009515, allocations: 184.1 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.4 MB / 223.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.511/0.511, allocations: 43.57 MB / 315 MB, free: 9.074 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005743/0.0005745, allocations: 24 kB / 384.6 MB, free: 7.863 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.167, allocations: 58.86 MB / 443.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002665/0.1697, allocations: 1.645 MB / 445.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.1713, allocations: 0.9366 MB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.385e-05/0.1714, allocations: 4 kB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006494/0.172, allocations: 191.5 kB / 446.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.1723, allocations: 139.6 kB / 446.4 MB, free: 9.973 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.1728, allocations: 179.7 kB / 446.5 MB, free: 9.797 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.1731, allocations: 247.3 kB / 446.8 MB, free: 9.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.1732, allocations: 17.67 kB / 446.8 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.1734, allocations: 99.55 kB / 446.9 MB, free: 9.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.1736, allocations: 107.5 kB / 447 MB, free: 9.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.1736, allocations: 4 kB / 447 MB, free: 9.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.1738, allocations: 47.97 kB / 447.1 MB, free: 9.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.834e-05/0.1739, allocations: 43.84 kB / 447.1 MB, free: 9.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.174, allocations: 105.1 kB / 447.2 MB, free: 9.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002876/0.1743, allocations: 227.4 kB / 447.4 MB, free: 8.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1743, allocations: 0 / 447.4 MB, free: 8.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1743, allocations: 0 / 447.4 MB, free: 8.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1743, allocations: 0 / 447.4 MB, free: 8.91 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007986/0.1751, allocations: 0.5118 MB / 447.9 MB, free: 8.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1752, allocations: 8.031 kB / 447.9 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.1753, allocations: 32.59 kB / 448 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.1756, allocations: 275.6 kB / 448.2 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.1757, allocations: 4.375 kB / 448.2 MB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.1757, allocations: 12.12 kB / 448.3 MB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.1759, allocations: 100.2 kB / 448.4 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1759, allocations: 3.938 kB / 448.4 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.176, allocations: 7.984 kB / 448.4 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.176, allocations: 0 / 448.4 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.1761, allocations: 39.97 kB / 448.4 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006114/0.1767, allocations: 385.5 kB / 448.8 MB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.177, allocations: 117.2 kB / 448.9 MB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.774e-05/0.1771, allocations: 41.7 kB / 448.9 MB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1772, allocations: 0 / 448.9 MB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/0.1774, allocations: 124.9 kB / 449.1 MB, free: 7.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.1774, allocations: 4 kB / 449.1 MB, free: 7.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004383/0.1778, allocations: 173.3 kB / 449.2 MB, free: 6.887 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.178, allocations: 106.8 kB / 449.3 MB, free: 6.758 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.1784, allocations: 334.9 kB / 449.7 MB, free: 6.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.1785, allocations: 33.7 kB / 449.7 MB, free: 6.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1786, allocations: 144 kB / 449.8 MB, free: 6.238 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.1786, allocations: 31.64 kB / 449.9 MB, free: 6.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.1787, allocations: 17.72 kB / 449.9 MB, free: 6.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.1789, allocations: 338.8 kB / 450.2 MB, free: 5.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.179, allocations: 31.98 kB / 450.2 MB, free: 5.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1791, allocations: 85.06 kB / 450.3 MB, free: 5.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.1793, allocations: 87.36 kB / 450.4 MB, free: 5.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1793, allocations: 0 / 450.4 MB, free: 5.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002745/0.1796, allocations: 157.9 kB / 450.6 MB, free: 5.453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1796, allocations: 8 kB / 450.6 MB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1796, allocations: 0 / 450.6 MB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1796, allocations: 0 / 450.6 MB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1798, allocations: 27.98 kB / 450.6 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1798, allocations: 0 / 450.6 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.209e-05/0.1799, allocations: 11.91 kB / 450.6 MB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.1799, allocations: 11.92 kB / 450.6 MB, free: 5.395 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.000142/0.18, allocations: 157.8 kB / 450.8 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.1801, allocations: 23.72 kB / 450.8 MB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.09e-05/0.1801, allocations: 25.73 kB / 450.8 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1802, allocations: 4 kB / 450.8 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1802, allocations: 0 / 450.8 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1802, allocations: 0 / 450.8 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.1804, allocations: 257.5 kB / 451.1 MB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1804, allocations: 0 / 451.1 MB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.114e-05/0.1805, allocations: 7.984 kB / 451.1 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1805, allocations: 4 kB / 451.1 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1805, allocations: 0 / 451.1 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1805, allocations: 4 kB / 451.1 MB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.1805, allocations: 11.88 kB / 451.1 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.1808, allocations: 181.5 kB / 451.3 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.109e-05/0.1809, allocations: 100.8 kB / 451.4 MB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.181, allocations: 7.984 kB / 451.4 MB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.258e-05/0.181, allocations: 12 kB / 451.4 MB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.1811, allocations: 7.984 kB / 451.4 MB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.1811, allocations: 11.94 kB / 451.4 MB, free: 4.488 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002468/0.1814, allocations: 245.9 kB / 451.7 MB, free: 4.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1814, allocations: 0 / 451.7 MB, free: 4.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1816, allocations: 36 kB / 451.7 MB, free: 4.219 MB / 382.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001072/0.1827, allocations: 442.4 kB / 452.1 MB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002589/0.183, allocations: 91.91 kB / 452.2 MB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.183, allocations: 0 / 452.2 MB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.1831, allocations: 47.97 kB / 452.3 MB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.1835, allocations: 61.33 kB / 452.3 MB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006867/0.1842, allocations: 427.4 kB / 452.8 MB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006375/0.1849, allocations: 0.7479 MB / 453.5 MB, free: 2.387 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.623e-05/0.185, allocations: 33.92 kB / 453.5 MB, free: 2.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/0.185, allocations: 27.38 kB / 453.6 MB, free: 2.332 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.185, allocations: 0 / 453.6 MB, free: 2.332 MB / 382.1 MB Notification: Performance of Templates: time 0.2386/0.4237, allocations: 2.77 MB / 456.3 MB, free: 45.68 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches