Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009331/0.0009333, allocations: 98.92 kB / 17.35 MB, free: 6.367 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.001061/0.001061, allocations: 172.3 kB / 18.25 MB, free: 5.527 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.442/1.442, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2155/0.2155, allocations: 44.24 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003657, allocations: 12 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1472, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002651/0.1499, allocations: 1.417 MB / 473.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.1515, allocations: 0.846 MB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.654e-05/0.1516, allocations: 0 / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004071/0.152, allocations: 83.81 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.1523, allocations: 63.8 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.1526, allocations: 98.89 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.1528, allocations: 103.7 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.1529, allocations: 12.23 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.153, allocations: 43.78 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.1532, allocations: 59.75 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.1532, allocations: 0 / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.945e-05/0.1533, allocations: 39.97 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.799e-05/0.1534, allocations: 19.92 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.038e-05/0.1535, allocations: 57.45 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.1538, allocations: 119.9 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1538, allocations: 0 / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.24e-06/0.1538, allocations: 0 / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.1538, allocations: 7.938 kB / 475.2 MB, free: 10.36 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.0008128/0.1546, allocations: 409.2 kB / 475.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.1547, allocations: 12.03 kB / 475.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.1547, allocations: 12.78 kB / 475.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.1551, allocations: 208 kB / 475.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.1551, allocations: 4.375 kB / 475.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.1551, allocations: 12.11 kB / 475.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.1553, allocations: 57.67 kB / 475.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1554, allocations: 0 / 475.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1554, allocations: 0 / 475.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.1554, allocations: 0 / 475.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.977e-05/0.1555, allocations: 19.98 kB / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.1559, allocations: 288.8 kB / 476.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.1562, allocations: 58.67 kB / 476.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.714e-05/0.1562, allocations: 20.86 kB / 476.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.1563, allocations: 0 / 476.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002242/0.1565, allocations: 67.33 kB / 476.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1565, allocations: 0 / 476.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000592/0.1571, allocations: 177.1 kB / 476.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.1572, allocations: 59.39 kB / 476.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.1574, allocations: 219.2 kB / 476.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.1574, allocations: 33.64 kB / 476.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.199e-05/0.1575, allocations: 104 kB / 476.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.962e-05/0.1576, allocations: 27.64 kB / 477 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.1576, allocations: 13.72 kB / 477 MB, free: 8.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1578, allocations: 330.8 kB / 477.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.559e-05/0.1578, allocations: 15.98 kB / 477.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.851e-05/0.1579, allocations: 41.7 kB / 477.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1581, allocations: 61.64 kB / 477.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1581, allocations: 0 / 477.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001755/0.1582, allocations: 93.59 kB / 477.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1583, allocations: 4 kB / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1583, allocations: 0 / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1583, allocations: 3.984 kB / 477.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.1584, allocations: 31.95 kB / 477.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1584, allocations: 384 / 477.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.1585, allocations: 7.938 kB / 477.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.1585, allocations: 192 / 477.6 MB, free: 7.773 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.1586, allocations: 129.8 kB / 477.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.1587, allocations: 23.75 kB / 477.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.1587, allocations: 17.55 kB / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1587, allocations: 0 / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1588, allocations: 0 / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.1588, allocations: 7.938 kB / 477.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.1593, allocations: 395.3 kB / 478.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1593, allocations: 4 kB / 478.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.544e-05/0.1593, allocations: 11.98 kB / 478.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1593, allocations: 0 / 478.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.1594, allocations: 3.938 kB / 478.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1594, allocations: 3.938 kB / 478.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1594, allocations: 4 kB / 478.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.1596, allocations: 208.2 kB / 478.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.501e-05/0.1597, allocations: 89 kB / 478.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.1598, allocations: 7.938 kB / 478.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.1598, allocations: 4 kB / 478.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.1599, allocations: 7.984 kB / 478.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.1599, allocations: 8 kB / 478.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.1601, allocations: 163.2 kB / 478.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1601, allocations: 0 / 478.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.1603, allocations: 24 kB / 478.6 MB, free: 6.578 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 (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.001174/0.1615, allocations: 462.2 kB / 479.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.1617, allocations: 51.97 kB / 479.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1617, allocations: 0 / 479.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.216e-05/0.1618, allocations: 35.92 kB / 479.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.1622, allocations: 27.92 kB / 479.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005424/0.1627, allocations: 270.1 kB / 479.5 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.1631, allocations: 0.7083 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.058e-05/0.1632, allocations: 25.17 kB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.1632, allocations: 15.44 kB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1632, allocations: 0 / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of Templates: time 0.00492/0.1682, allocations: 1.637 MB / 481.9 MB, free: 3.5 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches