Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009306/0.000931, allocations: 98.11 kB / 17 MB, free: 6.414 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.0008342/0.0008344, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.484/1.484, allocations: 223.2 MB / 241.9 MB, free: 244 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.2162/0.2162, allocations: 44.25 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003844, allocations: 12 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1504, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002674/0.1532, allocations: 1.394 MB / 473 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.1548, allocations: 0.7959 MB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.504e-05/0.1549, allocations: 0 / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.1552, allocations: 79.77 kB / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.1554, allocations: 71.78 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.1557, allocations: 94.52 kB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.1559, allocations: 91.69 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.156, allocations: 4.234 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.1561, allocations: 55.75 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.1563, allocations: 47.77 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.1563, allocations: 4 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.1564, allocations: 31.98 kB / 474.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.042e-05/0.1565, allocations: 31.92 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.275e-05/0.1566, allocations: 37.64 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.1569, allocations: 92.08 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.1569, allocations: 0 / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1569, allocations: 0 / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1569, allocations: 0 / 474.4 MB, free: 10.86 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.0007709/0.1577, allocations: 402.8 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.1577, allocations: 8.031 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.625e-05/0.1578, allocations: 7.906 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.1581, allocations: 210.8 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.1582, allocations: 7.984 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.1582, allocations: 0 / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.1584, allocations: 57.62 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.1584, allocations: 0 / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1585, allocations: 0 / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.1585, allocations: 7.984 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.1586, allocations: 19.94 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.1591, allocations: 296.8 kB / 475.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.1595, allocations: 54.69 kB / 475.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.053e-05/0.1596, allocations: 20.84 kB / 475.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.1596, allocations: 0 / 475.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002593/0.1599, allocations: 71.33 kB / 475.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.1599, allocations: 0 / 475.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007202/0.1606, allocations: 181.1 kB / 475.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.1607, allocations: 51.41 kB / 475.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.1609, allocations: 215.2 kB / 476 MB, free: 9.086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.1609, allocations: 29.7 kB / 476 MB, free: 9.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.161, allocations: 100.1 kB / 476.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.1611, allocations: 35.56 kB / 476.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.1611, allocations: 8 kB / 476.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1612, allocations: 326.8 kB / 476.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.523e-05/0.1613, allocations: 19.98 kB / 476.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.751e-05/0.1614, allocations: 37.7 kB / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.037e-05/0.1615, allocations: 20 kB / 476.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1615, allocations: 0 / 476.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001852/0.1617, allocations: 101.4 kB / 476.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1617, allocations: 4 kB / 476.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1617, allocations: 8.141 kB / 476.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1617, allocations: 0 / 476.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.613e-05/0.1618, allocations: 19.94 kB / 476.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.1618, allocations: 3.984 kB / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/0.1619, allocations: 4.375 kB / 476.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.1619, allocations: 7.984 kB / 476.7 MB, free: 8.344 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.0001437/0.162, allocations: 133.4 kB / 476.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.1621, allocations: 15.84 kB / 476.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.739e-05/0.1621, allocations: 25.33 kB / 476.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1622, allocations: 4 kB / 476.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1622, allocations: 0 / 476.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1622, allocations: 0 / 476.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004595/0.1626, allocations: 395.3 kB / 477.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1626, allocations: 0 / 477.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.274e-05/0.1627, allocations: 11.98 kB / 477.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1627, allocations: 4.031 kB / 477.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1627, allocations: 4 kB / 477.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1627, allocations: 0 / 477.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1627, allocations: 0 / 477.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.163, allocations: 204.2 kB / 477.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.045e-05/0.1631, allocations: 92.91 kB / 477.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.1631, allocations: 4 kB / 477.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/0.1632, allocations: 8 kB / 477.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.1633, allocations: 7.984 kB / 477.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.1633, allocations: 4 kB / 477.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001445/0.1634, allocations: 159.2 kB / 477.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1634, allocations: 0 / 477.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1637, allocations: 24.17 kB / 477.8 MB, free: 7.168 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.001397/0.1651, allocations: 470.6 kB / 478.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.1653, allocations: 59.91 kB / 478.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1653, allocations: 0 / 478.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.854e-05/0.1654, allocations: 27.92 kB / 478.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.1658, allocations: 40.05 kB / 478.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/0.1664, allocations: 250.2 kB / 478.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.1668, allocations: 0.7043 MB / 479.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.025e-05/0.1668, allocations: 17.19 kB / 479.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.1669, allocations: 23.42 kB / 479.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1669, allocations: 0 / 479.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of Templates: time 0.005017/0.1719, allocations: 1.597 MB / 480.9 MB, free: 4.129 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches