Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006302/0.006302, allocations: 100.9 kB / 15.87 MB, free: 6.316 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.001119/0.001119, allocations: 191.9 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.1 MB / 222.6 MB, free: 4.75 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.465/0.465, allocations: 43.5 MB / 313.5 MB, free: 8.25 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.001665/0.001666, allocations: 70.56 kB / 382 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.158, allocations: 57.79 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003785/0.1618, allocations: 1.968 MB / 441.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.1638, allocations: 0.8195 MB / 442.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.164, allocations: 4 kB / 442.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003635/0.1644, allocations: 35.83 kB / 442.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.1646, allocations: 51.77 kB / 442.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.1649, allocations: 91.83 kB / 442.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.1652, allocations: 131.5 kB / 442.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.1654, allocations: 29.77 kB / 443 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.1655, allocations: 47.78 kB / 443 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.1657, allocations: 55.64 kB / 443.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.1657, allocations: 4 kB / 443.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1658, allocations: 43.98 kB / 443.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.836e-05/0.1659, allocations: 23.84 kB / 443.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.166, allocations: 47.67 kB / 443.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.1663, allocations: 139.5 kB / 443.3 MB, free: 11.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1663, allocations: 0 / 443.3 MB, free: 11.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.778e-06/0.1663, allocations: 4 kB / 443.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.1663, allocations: 7.938 kB / 443.3 MB, free: 11.09 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008131/0.1672, allocations: 476.5 kB / 443.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.1672, allocations: 8.031 kB / 443.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.9e-05/0.1673, allocations: 16.75 kB / 443.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.1676, allocations: 220.8 kB / 444 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1677, allocations: 8.312 kB / 444 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.1677, allocations: 20 kB / 444.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.168, allocations: 104.2 kB / 444.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.168, allocations: 0 / 444.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.168, allocations: 8 kB / 444.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.1681, allocations: 4 kB / 444.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.1682, allocations: 51.91 kB / 444.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006802/0.1689, allocations: 0.5008 MB / 444.7 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003506/0.1693, allocations: 94.59 kB / 444.8 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.836e-05/0.1694, allocations: 36.84 kB / 444.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.1694, allocations: 7.984 kB / 444.9 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003429/0.1698, allocations: 83.3 kB / 444.9 MB, free: 9.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.1698, allocations: 0 / 444.9 MB, free: 9.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004487/0.1702, allocations: 145.5 kB / 445.1 MB, free: 9.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.1703, allocations: 55.34 kB / 445.1 MB, free: 9.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.1705, allocations: 187.5 kB / 445.3 MB, free: 8.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.1705, allocations: 29.7 kB / 445.3 MB, free: 8.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.064e-05/0.1706, allocations: 119.9 kB / 445.5 MB, free: 8.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.1707, allocations: 23.7 kB / 445.5 MB, free: 8.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.1707, allocations: 25.72 kB / 445.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1709, allocations: 322.8 kB / 445.8 MB, free: 8.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.028e-05/0.171, allocations: 35.97 kB / 445.9 MB, free: 8.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.1711, allocations: 64.28 kB / 445.9 MB, free: 8.227 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.1713, allocations: 100.5 kB / 446 MB, free: 8.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1713, allocations: 4 kB / 446 MB, free: 8.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002546/0.1715, allocations: 145.3 kB / 446.2 MB, free: 7.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1716, allocations: 4 kB / 446.2 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1716, allocations: 0 / 446.2 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1716, allocations: 4.125 kB / 446.2 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.826e-05/0.1717, allocations: 27.92 kB / 446.2 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.1717, allocations: 4 kB / 446.2 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.453e-05/0.1718, allocations: 11.84 kB / 446.2 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.1718, allocations: 8 kB / 446.2 MB, free: 7.902 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 9.884e-05/0.1719, allocations: 129.8 kB / 446.4 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.1719, allocations: 15.81 kB / 446.4 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.19e-05/0.172, allocations: 17.39 kB / 446.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.172, allocations: 7.875 kB / 446.4 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.172, allocations: 8 kB / 446.4 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.172, allocations: 0 / 446.4 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.1722, allocations: 209.6 kB / 446.6 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1722, allocations: 0 / 446.6 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.239e-05/0.1723, allocations: 8 kB / 446.6 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1723, allocations: 0 / 446.6 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.1723, allocations: 7.984 kB / 446.6 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1723, allocations: 3.938 kB / 446.6 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1723, allocations: 0 / 446.6 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.1727, allocations: 180.8 kB / 446.8 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.1728, allocations: 92.98 kB / 446.9 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.1728, allocations: 7.984 kB / 446.9 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.065e-05/0.1729, allocations: 8.125 kB / 446.9 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.1729, allocations: 11.92 kB / 446.9 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.1729, allocations: 11.94 kB / 446.9 MB, free: 7.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.173, allocations: 137.2 kB / 447.1 MB, free: 6.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1731, allocations: 4.062 kB / 447.1 MB, free: 6.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.1733, allocations: 24.12 kB / 447.1 MB, free: 6.941 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009595/0.1742, allocations: 413.8 kB / 447.5 MB, free: 6.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.1745, allocations: 83.83 kB / 447.6 MB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1745, allocations: 0 / 447.6 MB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.1746, allocations: 44.17 kB / 447.6 MB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.175, allocations: 35.97 kB / 447.7 MB, free: 6.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006565/0.1757, allocations: 305.6 kB / 448 MB, free: 6.086 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.1761, allocations: 0.7123 MB / 448.7 MB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.605e-05/0.1762, allocations: 17.41 kB / 448.7 MB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.1762, allocations: 19.44 kB / 448.7 MB, free: 5.309 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1762, allocations: 0 / 448.7 MB, free: 5.309 MB / 382.1 MB Notification: Performance of Templates: time 0.005805/0.1821, allocations: 1.783 MB / 450.5 MB, free: 3.531 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches