Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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.0009418/0.0009418, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001017/0.001017, allocations: 169 kB / 24.14 MB, free: 360 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.9526/0.9526, allocations: 158.6 MB / 186 MB, free: 2.773 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.1556/0.1556, 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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 299.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.669e-05, allocations: 2.312 kB / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.009179/0.009206, allocations: 1.69 MB / 300.8 MB, free: 464 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1484/0.1576, allocations: 1.087 MB / 301.9 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.1578, allocations: 1.156 kB / 301.9 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.1581, allocations: 25.34 kB / 301.9 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.1583, allocations: 49.55 kB / 302 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.1587, allocations: 156.3 kB / 302.1 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.1589, allocations: 69.41 kB / 302.2 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.159, allocations: 12.11 kB / 302.2 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.193e-05/0.1591, allocations: 37.06 kB / 302.2 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.899e-05/0.1592, allocations: 19.86 kB / 302.3 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.1592, allocations: 7.844 kB / 302.3 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.1593, allocations: 55.81 kB / 302.3 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.971e-05/0.1594, allocations: 15.73 kB / 302.3 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.1594, allocations: 18.08 kB / 302.4 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.1596, allocations: 85.94 kB / 302.4 MB, free: 19.2 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1596, allocations: 0.8906 kB / 302.4 MB, free: 19.2 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1596, allocations: 0.5312 kB / 302.4 MB, free: 19.2 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1596, allocations: 0 / 302.4 MB, free: 19.2 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003367/0.16, allocations: 292.7 kB / 302.7 MB, free: 18.94 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.16, allocations: 11.53 kB / 302.7 MB, free: 18.94 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.16, allocations: 7.5 kB / 302.7 MB, free: 18.94 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.1602, allocations: 133.7 kB / 302.9 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1602, allocations: 1.375 kB / 302.9 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.1602, allocations: 3.688 kB / 302.9 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.1603, allocations: 103.1 kB / 303 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1603, allocations: 2.031 kB / 303 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1603, allocations: 4.781 kB / 303 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1603, allocations: 1.781 kB / 303 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.84e-05/0.1604, allocations: 13.3 kB / 303 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002437/0.1606, allocations: 177.6 kB / 303.2 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.171e-05/0.1607, allocations: 29.8 kB / 303.2 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/0.1607, allocations: 8.844 kB / 303.2 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.1607, allocations: 6.344 kB / 303.2 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.1607, allocations: 36.75 kB / 303.3 MB, free: 18.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.424e-06/0.1607, allocations: 1.25 kB / 303.3 MB, free: 18.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003287/0.1611, allocations: 100.8 kB / 303.4 MB, free: 18.44 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.1611, allocations: 82.95 kB / 303.4 MB, free: 18.35 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.283e-05/0.1612, allocations: 143.3 kB / 303.6 MB, free: 18.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.1612, allocations: 27.14 kB / 303.6 MB, free: 18.2 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.159e-05/0.1612, allocations: 88.14 kB / 303.7 MB, free: 18.12 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.1612, allocations: 25.62 kB / 303.7 MB, free: 18.11 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.1612, allocations: 23.34 kB / 303.7 MB, free: 18.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.676e-05/0.1613, allocations: 318.3 kB / 304 MB, free: 17.78 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.1613, allocations: 5.797 kB / 304.1 MB, free: 17.78 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.953e-05/0.1613, allocations: 48.55 kB / 304.1 MB, free: 17.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.839e-05/0.1614, allocations: 26.3 kB / 304.1 MB, free: 17.72 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1614, allocations: 3.938 kB / 304.1 MB, free: 17.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.255e-05/0.1614, allocations: 64.84 kB / 304.2 MB, free: 17.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1615, allocations: 4.688 kB / 304.2 MB, free: 17.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1615, allocations: 1.094 kB / 304.2 MB, free: 17.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1615, allocations: 0.7969 kB / 304.2 MB, free: 17.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.099e-05/0.1615, allocations: 16.98 kB / 304.2 MB, free: 17.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.1615, allocations: 0.75 kB / 304.2 MB, free: 17.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.571e-05/0.1616, allocations: 9.547 kB / 304.2 MB, free: 17.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1616, allocations: 4.875 kB / 304.2 MB, free: 17.68 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 4.159e-05/0.1616, allocations: 111.6 kB / 304.3 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.1616, allocations: 13.3 kB / 304.4 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.1618, allocations: 67.81 kB / 304.4 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1618, allocations: 1.125 kB / 304.4 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.1618, allocations: 1.031 kB / 304.4 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1618, allocations: 1.797 kB / 304.4 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.162, allocations: 228.7 kB / 304.6 MB, free: 17.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.162, allocations: 0 / 304.6 MB, free: 17.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/0.162, allocations: 24.39 kB / 304.7 MB, free: 17.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.162, allocations: 0 / 304.7 MB, free: 17.33 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.162, allocations: 2.234 kB / 304.7 MB, free: 17.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.162, allocations: 0 / 304.7 MB, free: 17.33 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.162, allocations: 1.891 kB / 304.7 MB, free: 17.33 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.46e-05/0.1621, allocations: 154.2 kB / 304.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.1621, allocations: 2.953 kB / 304.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.1621, allocations: 5.641 kB / 304.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.714e-05/0.1622, allocations: 5.969 kB / 304.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.1622, allocations: 11.8 kB / 304.9 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.1622, allocations: 1.984 kB / 304.9 MB, free: 17.19 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.305e-05/0.1622, allocations: 26.16 kB / 304.9 MB, free: 17.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1622, allocations: 0.9688 kB / 304.9 MB, free: 17.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001602/0.1624, allocations: 27.05 kB / 304.9 MB, free: 17.18 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001315/0.1637, allocations: 0.5567 MB / 305.5 MB, free: 16.87 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.1638, allocations: 31.72 kB / 305.5 MB, free: 16.86 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.1638, allocations: 1.188 kB / 305.5 MB, free: 16.86 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.619e-05/0.1639, allocations: 22.38 kB / 305.5 MB, free: 16.85 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.1641, allocations: 26.59 kB / 305.5 MB, free: 16.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.1644, allocations: 186.7 kB / 305.7 MB, free: 16.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.502e-05/0.1645, allocations: 65.5 kB / 305.8 MB, free: 16.63 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.379e-05/0.1645, allocations: 16.16 kB / 305.8 MB, free: 16.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.832e-05/0.1646, allocations: 65.16 kB / 305.9 MB, free: 16.57 MB / 282.7 MB Notification: Performance of SimCode: time 1.262e-06/0.1646, allocations: 0 / 305.9 MB, free: 16.57 MB / 282.7 MB Notification: Performance of Templates: time 0.004307/0.1689, allocations: 1.69 MB / 307.6 MB, free: 16.36 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.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: 3.0537489503622055]