Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001621/0.00162, allocations: 194 kB / 18.12 MB, free: 5.363 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.446/1.446, allocations: 222.9 MB / 241.8 MB, free: 13.84 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.226/0.226, allocations: 44.17 MB / 336.1 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 59.91 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1541, allocations: 60.83 MB / 468.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.00448/0.1586, allocations: 1.78 MB / 470.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.1605, allocations: 0.8576 MB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.1606, allocations: 0 / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.161, allocations: 111.7 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.1614, allocations: 83.7 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.1618, allocations: 95.83 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.162, allocations: 115.7 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1621, allocations: 19.98 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.1623, allocations: 51.72 kB / 471.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.1624, allocations: 67.73 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.1624, allocations: 4 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.1626, allocations: 51.98 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.196e-05/0.1627, allocations: 31.89 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.537e-05/0.1628, allocations: 43.67 kB / 471.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.163, allocations: 147.8 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1631, allocations: 3.938 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1631, allocations: 0 / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1631, allocations: 3.938 kB / 472 MB, free: 11.34 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007416/0.1638, allocations: 453.4 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.1639, allocations: 8.031 kB / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.951e-05/0.164, allocations: 16.75 kB / 472.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.1642, allocations: 219.9 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.1643, allocations: 384 / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.1643, allocations: 12.12 kB / 472.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.1645, allocations: 65.59 kB / 472.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.1645, allocations: 4 kB / 472.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.1645, allocations: 8 kB / 472.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1646, allocations: 0 / 472.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.1647, allocations: 27.97 kB / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005377/0.1652, allocations: 328.6 kB / 473.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.1655, allocations: 66.55 kB / 473.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.764e-05/0.1656, allocations: 32.84 kB / 473.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.1657, allocations: 7.938 kB / 473.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000266/0.1659, allocations: 67.39 kB / 473.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 3.236e-06/0.166, allocations: 96 / 473.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008704/0.1668, allocations: 277 kB / 473.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.1669, allocations: 59.33 kB / 473.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.1672, allocations: 247.2 kB / 473.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1672, allocations: 29.7 kB / 473.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.1673, allocations: 112.1 kB / 474 MB, free: 9.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/0.1674, allocations: 35.45 kB / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.638e-05/0.1674, allocations: 33.7 kB / 474 MB, free: 9.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1676, allocations: 330.8 kB / 474.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.859e-05/0.1677, allocations: 31.98 kB / 474.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.947e-05/0.1678, allocations: 52.08 kB / 474.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.168, allocations: 97.62 kB / 474.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.168, allocations: 4 kB / 474.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003012/0.1683, allocations: 133.5 kB / 474.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.1684, allocations: 10.34 kB / 474.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1684, allocations: 0 / 474.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1684, allocations: 3.984 kB / 474.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.884e-05/0.1685, allocations: 31.97 kB / 474.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.1685, allocations: 3.938 kB / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.829e-05/0.1686, allocations: 7.984 kB / 474.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.1686, allocations: 4 kB / 474.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 ($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 (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.0001612/0.1688, allocations: 138.4 kB / 474.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.1688, allocations: 11.81 kB / 474.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.578e-05/0.1689, allocations: 18.11 kB / 474.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1689, allocations: 7.984 kB / 474.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.1689, allocations: 7.938 kB / 474.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1689, allocations: 0 / 474.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006764/0.1696, allocations: 483.9 kB / 475.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.1696, allocations: 3.984 kB / 475.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.449e-05/0.1697, allocations: 15.94 kB / 475.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-06/0.1697, allocations: 4 kB / 475.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.1697, allocations: 0 / 475.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.1697, allocations: 8.062 kB / 475.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1697, allocations: 0 / 475.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.1701, allocations: 241 kB / 475.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.1702, allocations: 96.84 kB / 475.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.1703, allocations: 11.98 kB / 475.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.999e-05/0.1703, allocations: 4 kB / 475.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.1704, allocations: 11.98 kB / 475.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.1704, allocations: 8 kB / 475.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.1706, allocations: 184.2 kB / 476 MB, free: 7.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1706, allocations: 0 / 476 MB, free: 7.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003061/0.1709, allocations: 32.09 kB / 476 MB, free: 6.973 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001494/0.1724, allocations: 0.5146 MB / 476.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002906/0.1728, allocations: 91.91 kB / 476.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1728, allocations: 0 / 476.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.1729, allocations: 43.92 kB / 476.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.1733, allocations: 41.67 kB / 476.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006358/0.174, allocations: 342.8 kB / 477 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.1743, allocations: 0.7243 MB / 477.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.453e-05/0.1744, allocations: 25.06 kB / 477.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.1745, allocations: 19.44 kB / 477.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1745, allocations: 0 / 477.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of Templates: time 0.005646/0.1801, allocations: 1.99 MB / 479.8 MB, free: 3.348 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches