Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009334/0.0009336, allocations: 96.25 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.001488/0.001488, allocations: 177.8 kB / 18.26 MB, free: 5.523 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.426/1.426, 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.2381/0.2381, allocations: 44.26 MB / 337.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003553, allocations: 12.84 kB / 410.3 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1639, allocations: 61.92 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002843/0.1669, allocations: 1.413 MB / 473.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00265/0.1696, allocations: 1.432 MB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.554e-05/0.1697, allocations: 0 / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004501/0.1701, allocations: 35.89 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.1704, allocations: 51.77 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.1708, allocations: 98.64 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.171, allocations: 91.69 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.1711, allocations: 16.23 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.1713, allocations: 39.78 kB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.1715, allocations: 35.78 kB / 475.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.1715, allocations: 4 kB / 475.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.1717, allocations: 55.97 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.983e-05/0.1717, allocations: 15.92 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.715e-05/0.1718, allocations: 53.5 kB / 475.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.172, allocations: 119.9 kB / 475.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1721, allocations: 3.938 kB / 475.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.1721, allocations: 4 kB / 475.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1721, allocations: 3.938 kB / 475.7 MB, free: 9.84 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.0006531/0.1727, allocations: 383.3 kB / 476.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.1728, allocations: 12.03 kB / 476.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.1729, allocations: 12.75 kB / 476.1 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.1732, allocations: 198.6 kB / 476.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.1732, allocations: 8.359 kB / 476.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.1732, allocations: 8.125 kB / 476.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.1735, allocations: 71.39 kB / 476.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1735, allocations: 0 / 476.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.1735, allocations: 3.984 kB / 476.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.1735, allocations: 0 / 476.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.96e-05/0.1736, allocations: 23.92 kB / 476.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.1741, allocations: 284.8 kB / 476.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.1743, allocations: 54.69 kB / 476.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.896e-05/0.1744, allocations: 24.84 kB / 476.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.1744, allocations: 3.938 kB / 476.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002229/0.1746, allocations: 67.39 kB / 476.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1746, allocations: 3.938 kB / 476.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005948/0.1752, allocations: 181.2 kB / 477 MB, free: 8.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.1753, allocations: 81.11 kB / 477.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.1755, allocations: 145.8 kB / 477.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.1755, allocations: 29.7 kB / 477.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.1756, allocations: 96.12 kB / 477.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.1756, allocations: 19.7 kB / 477.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.1757, allocations: 17.72 kB / 477.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1758, allocations: 330.8 kB / 477.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.17e-05/0.1759, allocations: 16 kB / 477.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.178e-05/0.1759, allocations: 42.56 kB / 477.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.1761, allocations: 57.64 kB / 477.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1761, allocations: 4 kB / 477.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000173/0.1763, allocations: 105.5 kB / 478 MB, free: 7.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1763, allocations: 8.062 kB / 478 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1763, allocations: 0 / 478 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1763, allocations: 4 kB / 478 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.631e-05/0.1764, allocations: 12.19 kB / 478 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1764, allocations: 0 / 478 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.173e-05/0.1765, allocations: 19.8 kB / 478 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.1765, allocations: 4 kB / 478 MB, free: 7.305 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.0001073/0.1766, allocations: 117.8 kB / 478.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.1766, allocations: 7.906 kB / 478.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.567e-05/0.1767, allocations: 20.7 kB / 478.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1767, allocations: 0 / 478.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.1767, allocations: 4 kB / 478.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1767, allocations: 7.875 kB / 478.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004429/0.1772, allocations: 383.3 kB / 478.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1772, allocations: 0 / 478.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/0.1772, allocations: 11.94 kB / 478.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1772, allocations: 4.016 kB / 478.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1772, allocations: 7.938 kB / 478.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1772, allocations: 4 kB / 478.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1773, allocations: 0 / 478.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.1775, allocations: 204.5 kB / 478.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.1776, allocations: 85 kB / 478.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.1776, allocations: 11.88 kB / 478.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.182e-05/0.1777, allocations: 12 kB / 478.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.1777, allocations: 7.922 kB / 478.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.1777, allocations: 4.375 kB / 478.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.1778, allocations: 121.8 kB / 479 MB, free: 6.203 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1779, allocations: 0 / 479 MB, free: 6.203 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.1781, allocations: 28 kB / 479 MB, free: 6.176 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.001228/0.1794, allocations: 0.4928 MB / 479.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.1796, allocations: 59.92 kB / 479.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.1796, allocations: 0 / 479.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.945e-05/0.1797, allocations: 35.91 kB / 479.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.18, allocations: 27.98 kB / 479.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.1805, allocations: 214 kB / 479.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.1808, allocations: 0.6926 MB / 480.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.32e-05/0.1808, allocations: 17.17 kB / 480.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.1809, allocations: 27.42 kB / 480.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1809, allocations: 4 kB / 480.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of Templates: time 0.005028/0.1859, allocations: 1.874 MB / 482.5 MB, free: 2.883 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches