Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") 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: 104.5 kB / 17.63 MB, free: 5.344 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.0009699/0.0009699, allocations: 192 kB / 18.56 MB, free: 4.434 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.302/1.302, allocations: 222.9 MB / 242.2 MB, free: 15.15 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.2113/0.2113, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 66.97 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1453, allocations: 60.82 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.00433/0.1497, allocations: 1.688 MB / 471 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.1517, allocations: 0.8847 MB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.1519, allocations: 0 / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005029/0.1524, allocations: 55.77 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003711/0.1528, allocations: 55.69 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005074/0.1534, allocations: 111.7 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.1537, allocations: 99.69 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.1538, allocations: 8.234 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.154, allocations: 43.78 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.1541, allocations: 31.8 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.1541, allocations: 4 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.1543, allocations: 35.98 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.577e-05/0.1544, allocations: 31.89 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.146e-05/0.1545, allocations: 43.62 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.1548, allocations: 135.8 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1549, allocations: 0 / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1549, allocations: 3.938 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.1549, allocations: 8 kB / 472.5 MB, free: 11.11 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.0007604/0.1557, allocations: 437.8 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.1557, allocations: 8.031 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.5e-05/0.1558, allocations: 16.75 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.1561, allocations: 217 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.1561, allocations: 4.375 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.1562, allocations: 8.031 kB / 473.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.1564, allocations: 57.67 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.1564, allocations: 4 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.1564, allocations: 4 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1564, allocations: 0 / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.43e-05/0.1565, allocations: 19.92 kB / 473.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.157, allocations: 296.9 kB / 473.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.1572, allocations: 66.61 kB / 473.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.96e-05/0.1573, allocations: 16.86 kB / 473.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.1573, allocations: 0 / 473.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000275/0.1576, allocations: 75.31 kB / 473.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.216e-06/0.1576, allocations: 0 / 473.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007552/0.1584, allocations: 188.9 kB / 473.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.1585, allocations: 55.41 kB / 473.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.1588, allocations: 275.8 kB / 474.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.1588, allocations: 29.7 kB / 474.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.989e-05/0.1589, allocations: 112.1 kB / 474.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.159, allocations: 23.66 kB / 474.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.555e-05/0.159, allocations: 25.7 kB / 474.4 MB, free: 9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1592, allocations: 330.8 kB / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.754e-05/0.1593, allocations: 23.98 kB / 474.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.431e-05/0.1594, allocations: 37.7 kB / 474.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.1595, allocations: 57.66 kB / 474.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1595, allocations: 0 / 474.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002267/0.1597, allocations: 105.5 kB / 474.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1598, allocations: 4 kB / 474.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.1598, allocations: 0 / 474.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.1598, allocations: 3.938 kB / 474.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.1599, allocations: 24.02 kB / 475 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1599, allocations: 192 / 475 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.619e-05/0.16, allocations: 3.938 kB / 475 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.16, allocations: 7.938 kB / 475 MB, free: 8.387 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.0001318/0.1601, allocations: 133.8 kB / 475.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.1602, allocations: 15.81 kB / 475.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.526e-05/0.1602, allocations: 25.39 kB / 475.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1603, allocations: 0 / 475.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1603, allocations: 4.375 kB / 475.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.1603, allocations: 11.92 kB / 475.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005179/0.1608, allocations: 399.3 kB / 475.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.1608, allocations: 4 kB / 475.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.1609, allocations: 15.94 kB / 475.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1609, allocations: 0 / 475.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.1609, allocations: 7.938 kB / 475.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1609, allocations: 3.938 kB / 475.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1609, allocations: 4.031 kB / 475.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.1612, allocations: 208.2 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.1613, allocations: 88.92 kB / 475.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.1613, allocations: 7.938 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.007e-05/0.1614, allocations: 0 / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.1615, allocations: 7.984 kB / 475.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.1615, allocations: 12 kB / 475.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002001/0.1617, allocations: 209.4 kB / 476.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.693e-06/0.1617, allocations: 0 / 476.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.162, allocations: 31.94 kB / 476.1 MB, free: 7.117 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.001712/0.1637, allocations: 456.5 kB / 476.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00047/0.1642, allocations: 63.91 kB / 476.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.1643, allocations: 0 / 476.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.1645, allocations: 35.92 kB / 476.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005971/0.1651, allocations: 23.92 kB / 476.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005519/0.1657, allocations: 303.8 kB / 477 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.1659, allocations: 0.7236 MB / 477.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.956e-05/0.166, allocations: 8.891 kB / 477.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.166, allocations: 19.42 kB / 477.8 MB, free: 5.621 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1661, allocations: 0 / 477.8 MB, free: 5.621 MB / 350.1 MB Notification: Performance of Templates: time 0.004831/0.1709, allocations: 1.744 MB / 479.5 MB, free: 3.898 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches