Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009543/0.0009543, allocations: 80.05 kB / 20.72 MB, free: 3.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8937/0.8937, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1389/0.1389, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.653e-05, allocations: 2.312 kB / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002453/0.00248, allocations: 1.7 MB / 300.8 MB, free: 432 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1701/0.1726, allocations: 0.7805 MB / 301.6 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1727, allocations: 0.9688 kB / 301.6 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.173, allocations: 49.86 kB / 301.7 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.1733, allocations: 62.38 kB / 301.7 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.1735, allocations: 83.58 kB / 301.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.1737, allocations: 96.23 kB / 301.9 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.246e-05/0.1737, allocations: 10.36 kB / 301.9 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1738, allocations: 45.53 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.351e-05/0.1739, allocations: 24.16 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.1739, allocations: 2.719 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.015e-05/0.174, allocations: 32.86 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.1741, allocations: 32.7 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.1741, allocations: 16.91 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.1743, allocations: 103.6 kB / 302.2 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1743, allocations: 0.75 kB / 302.2 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1743, allocations: 0 / 302.2 MB, free: 19.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1743, allocations: 3.75 kB / 302.2 MB, free: 19.14 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003607/0.1746, allocations: 328.1 kB / 302.5 MB, free: 18.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1747, allocations: 10.28 kB / 302.5 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.1747, allocations: 8.844 kB / 302.5 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.1749, allocations: 151.5 kB / 302.7 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1749, allocations: 3.281 kB / 302.7 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.1749, allocations: 1.594 kB / 302.7 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.781e-05/0.175, allocations: 63.89 kB / 302.7 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.175, allocations: 3.938 kB / 302.7 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.175, allocations: 6.469 kB / 302.7 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.175, allocations: 0 / 302.7 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.12e-05/0.175, allocations: 8.031 kB / 302.7 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.156e-05/0.1751, allocations: 71.83 kB / 302.8 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.773e-05/0.1752, allocations: 34.66 kB / 302.8 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.911e-05/0.1752, allocations: 11.98 kB / 302.9 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.1752, allocations: 3.422 kB / 302.9 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.746e-05/0.1753, allocations: 68.03 kB / 302.9 MB, free: 18.49 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1753, allocations: 0 / 302.9 MB, free: 18.49 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001113/0.1754, allocations: 58.5 kB / 303 MB, free: 18.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/0.1754, allocations: 57.25 kB / 303 MB, free: 18.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.1755, allocations: 208.3 kB / 303.2 MB, free: 18.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.1755, allocations: 27.64 kB / 303.3 MB, free: 18.24 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.854e-05/0.1756, allocations: 96.77 kB / 303.4 MB, free: 18.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.1756, allocations: 22.02 kB / 303.4 MB, free: 18.15 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.1756, allocations: 20.39 kB / 303.4 MB, free: 18.13 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.491e-05/0.1756, allocations: 329.3 kB / 303.7 MB, free: 17.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.1757, allocations: 6.875 kB / 303.7 MB, free: 17.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.849e-05/0.1757, allocations: 25.55 kB / 303.8 MB, free: 17.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.086e-05/0.1757, allocations: 36.27 kB / 303.8 MB, free: 17.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1757, allocations: 0 / 303.8 MB, free: 17.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.598e-05/0.1758, allocations: 64.47 kB / 303.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1758, allocations: 5.875 kB / 303.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.1758, allocations: 2.859 kB / 303.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1758, allocations: 0 / 303.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.658e-05/0.1759, allocations: 10.27 kB / 303.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.1759, allocations: 5.094 kB / 303.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.867e-05/0.1759, allocations: 6.297 kB / 303.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.1759, allocations: 1.031 kB / 303.9 MB, free: 17.73 MB / 282.7 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 (7): * Single equations (assignments): 7 * 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 5.627e-05/0.176, allocations: 119.6 kB / 304 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.176, allocations: 13.31 kB / 304 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.1761, allocations: 66.02 kB / 304.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1761, allocations: 1.438 kB / 304.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1761, allocations: 3.938 kB / 304.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1761, allocations: 0.8438 kB / 304.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.416e-05/0.1762, allocations: 89.69 kB / 304.2 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1762, allocations: 3.906 kB / 304.2 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.921e-05/0.1762, allocations: 8.281 kB / 304.2 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.1762, allocations: 1.594 kB / 304.2 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.1762, allocations: 3.781 kB / 304.2 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1762, allocations: 0 / 304.2 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1762, allocations: 1.062 kB / 304.2 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.7e-05/0.1763, allocations: 91.55 kB / 304.3 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.1763, allocations: 12.94 kB / 304.3 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.1763, allocations: 5.891 kB / 304.3 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.314e-05/0.1763, allocations: 6.906 kB / 304.3 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.1764, allocations: 4.109 kB / 304.3 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.1764, allocations: 1.688 kB / 304.3 MB, free: 17.4 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.115e-05/0.1765, allocations: 72.08 kB / 304.4 MB, free: 17.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1765, allocations: 0 / 304.4 MB, free: 17.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001324/0.1766, allocations: 30.72 kB / 304.4 MB, free: 17.37 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001121/0.1777, allocations: 0.5035 MB / 304.9 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.785e-05/0.1778, allocations: 35.83 kB / 305 MB, free: 17.1 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.1778, allocations: 1.094 kB / 305 MB, free: 17.1 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.993e-05/0.1778, allocations: 16.34 kB / 305 MB, free: 17.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.178, allocations: 27.12 kB / 305 MB, free: 17.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.1783, allocations: 223 kB / 305.2 MB, free: 16.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.502e-05/0.1783, allocations: 78.55 kB / 305.3 MB, free: 16.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.813e-05/0.1784, allocations: 9.484 kB / 305.3 MB, free: 16.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.1784, allocations: 68.05 kB / 305.4 MB, free: 16.8 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1784, allocations: 0 / 305.4 MB, free: 16.8 MB / 282.7 MB Notification: Performance of Templates: time 0.004279/0.1827, allocations: 1.756 MB / 307.1 MB, free: 16.6 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.990593505091965]