Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008829/0.000883, allocations: 102.8 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.001583/0.001582, allocations: 186.5 kB / 16.92 MB, free: 6.918 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.105/2.105, allocations: 205.4 MB / 223.1 MB, free: 5.52 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.4769/0.4769, allocations: 43.57 MB / 315 MB, free: 8.758 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.000522/0.000522, allocations: 16 kB / 384.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1627, allocations: 58.86 MB / 443.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002344/0.1651, allocations: 1.499 MB / 445 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.1666, allocations: 0.8548 MB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.101e-05/0.1667, allocations: 3.938 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005374/0.1672, allocations: 291.4 kB / 446.1 MB, free: 10 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.1676, allocations: 195.5 kB / 446.3 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.1679, allocations: 131.8 kB / 446.4 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.1683, allocations: 235.4 kB / 446.6 MB, free: 9.453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.905e-05/0.1683, allocations: 13.53 kB / 446.7 MB, free: 9.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.1685, allocations: 119.5 kB / 446.8 MB, free: 9.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.1687, allocations: 180 kB / 446.9 MB, free: 9.145 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.1688, allocations: 4 kB / 447 MB, free: 9.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1689, allocations: 43.91 kB / 447 MB, free: 9.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.169, allocations: 124.6 kB / 447.1 MB, free: 8.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.1692, allocations: 164.5 kB / 447.3 MB, free: 8.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003705/0.1696, allocations: 350.9 kB / 447.6 MB, free: 8.465 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.1696, allocations: 7.984 kB / 447.6 MB, free: 8.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1696, allocations: 0 / 447.6 MB, free: 8.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1696, allocations: 0 / 447.6 MB, free: 8.457 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009047/0.1705, allocations: 0.661 MB / 448.3 MB, free: 7.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1706, allocations: 8.031 kB / 448.3 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.48e-05/0.1706, allocations: 44.38 kB / 448.3 MB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005426/0.1712, allocations: 443.9 kB / 448.8 MB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.1712, allocations: 384 / 448.8 MB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.1713, allocations: 12.12 kB / 448.8 MB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.1715, allocations: 87.3 kB / 448.9 MB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1715, allocations: 0 / 448.9 MB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1715, allocations: 0 / 448.9 MB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1715, allocations: 4 kB / 448.9 MB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.1716, allocations: 31.97 kB / 448.9 MB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.1721, allocations: 382.2 kB / 449.3 MB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.1724, allocations: 105.2 kB / 449.4 MB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-05/0.1725, allocations: 45.62 kB / 449.4 MB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.1725, allocations: 4 kB / 449.4 MB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002539/0.1728, allocations: 109 kB / 449.5 MB, free: 6.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.1728, allocations: 0 / 449.5 MB, free: 6.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004803/0.1733, allocations: 197 kB / 449.7 MB, free: 6.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.1733, allocations: 77.11 kB / 449.8 MB, free: 6.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.1744, allocations: 1.014 MB / 450.8 MB, free: 5.031 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.1744, allocations: 29.7 kB / 450.8 MB, free: 4.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.1746, allocations: 232 kB / 451.1 MB, free: 4.766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/0.1747, allocations: 27.64 kB / 451.1 MB, free: 4.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.1747, allocations: 17.72 kB / 451.1 MB, free: 4.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1749, allocations: 362.8 kB / 451.5 MB, free: 4.352 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.568e-05/0.175, allocations: 31.97 kB / 451.5 MB, free: 4.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.72e-05/0.1751, allocations: 59.42 kB / 451.6 MB, free: 4.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.1753, allocations: 83.36 kB / 451.6 MB, free: 4.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.1753, allocations: 4 kB / 451.6 MB, free: 4.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002946/0.1756, allocations: 173.5 kB / 451.8 MB, free: 3.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1756, allocations: 4 kB / 451.8 MB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1756, allocations: 3.938 kB / 451.8 MB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1757, allocations: 4 kB / 451.8 MB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1758, allocations: 24.05 kB / 451.9 MB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.1758, allocations: 4 kB / 451.9 MB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.541e-05/0.1759, allocations: 11.91 kB / 451.9 MB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.1759, allocations: 7.984 kB / 451.9 MB, free: 3.918 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: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002262/0.1761, allocations: 233.5 kB / 452.1 MB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.1762, allocations: 51.34 kB / 452.2 MB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.851e-05/0.1763, allocations: 55.84 kB / 452.2 MB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.1763, allocations: 4 kB / 452.2 MB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1763, allocations: 0 / 452.2 MB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1763, allocations: 3.984 kB / 452.2 MB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.1767, allocations: 337.3 kB / 452.5 MB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1767, allocations: 0 / 452.5 MB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.422e-05/0.1767, allocations: 8 kB / 452.6 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1767, allocations: 0 / 452.6 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.1767, allocations: 11.98 kB / 452.6 MB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1767, allocations: 4 kB / 452.6 MB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1767, allocations: 0 / 452.6 MB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.1771, allocations: 197.3 kB / 452.8 MB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.1772, allocations: 144.4 kB / 452.9 MB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.1773, allocations: 4 kB / 452.9 MB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.669e-05/0.1774, allocations: 4 kB / 452.9 MB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.1774, allocations: 19.92 kB / 452.9 MB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.1775, allocations: 4.094 kB / 452.9 MB, free: 2.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008095/0.1783, allocations: 0.7565 MB / 453.7 MB, free: 2.004 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1783, allocations: 0 / 453.7 MB, free: 2.004 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.1785, allocations: 43.98 kB / 453.7 MB, free: 1.961 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001051/0.1796, allocations: 413.7 kB / 454.1 MB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002545/0.1799, allocations: 83.91 kB / 454.2 MB, free: 1.504 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1799, allocations: 0 / 454.2 MB, free: 1.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.18, allocations: 39.92 kB / 454.3 MB, free: 1.465 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.1805, allocations: 70.14 kB / 454.3 MB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.1818, allocations: 0.9324 MB / 455.3 MB, free: 448 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.223/0.4049, allocations: 0.8311 MB / 456.1 MB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002263/0.4052, allocations: 58.84 kB / 456.1 MB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.276e-05/0.4053, allocations: 27.66 kB / 456.2 MB, free: 45.82 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4053, allocations: 0 / 456.2 MB, free: 45.82 MB / 382.1 MB Notification: Performance of Templates: time 0.006906/0.4122, allocations: 3.412 MB / 459.6 MB, free: 45.68 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches