Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001738/0.001738, 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.002098/0.002098, allocations: 173 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.956/0.956, allocations: 158.6 MB / 186 MB, free: 2.754 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.1381/0.1381, allocations: 32.37 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.175e-05, allocations: 2.312 kB / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003525/0.003557, allocations: 1.682 MB / 300.8 MB, free: 464 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007481/0.004305, allocations: 359.1 kB / 301.1 MB, free: 100 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.004372, allocations: 0 / 301.1 MB, free: 100 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1501/0.1544, allocations: 453.8 kB / 301.6 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.1548, allocations: 249 kB / 301.8 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.1552, allocations: 149.1 kB / 302 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.1555, allocations: 168.2 kB / 302.1 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1556, allocations: 12.62 kB / 302.2 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.1558, allocations: 117 kB / 302.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/0.156, allocations: 193.5 kB / 302.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.156, allocations: 4.125 kB / 302.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.142e-05/0.1561, allocations: 33.38 kB / 302.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.1562, allocations: 89.92 kB / 302.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.271e-05/0.1563, allocations: 39.39 kB / 302.6 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.1566, allocations: 193.8 kB / 302.8 MB, free: 19.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1566, allocations: 1.938 kB / 302.8 MB, free: 19.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1566, allocations: 0 / 302.8 MB, free: 19.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.1566, allocations: 2.453 kB / 302.8 MB, free: 19.18 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.0006024/0.1572, allocations: 0.5338 MB / 303.3 MB, free: 18.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1572, allocations: 9.219 kB / 303.4 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.34e-05/0.1573, allocations: 24 kB / 303.4 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.1575, allocations: 244.2 kB / 303.6 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1575, allocations: 6.781 kB / 303.6 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.1575, allocations: 4.406 kB / 303.6 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.1576, allocations: 60.22 kB / 303.7 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1576, allocations: 5.062 kB / 303.7 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.1577, allocations: 5.188 kB / 303.7 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1577, allocations: 0 / 303.7 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.343e-05/0.1577, allocations: 11.95 kB / 303.7 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002789/0.158, allocations: 203.3 kB / 303.9 MB, free: 18.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.1581, allocations: 29.42 kB / 303.9 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.421e-05/0.1581, allocations: 11.34 kB / 304 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.1581, allocations: 2.609 kB / 304 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.1581, allocations: 36.25 kB / 304 MB, free: 18.28 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.1581, allocations: 1 kB / 304 MB, free: 18.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002653/0.1584, allocations: 101.1 kB / 304.1 MB, free: 18.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.829e-05/0.1584, allocations: 53.25 kB / 304.1 MB, free: 18.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/0.1588, allocations: 0.5248 MB / 304.7 MB, free: 18.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.1588, allocations: 25.7 kB / 304.7 MB, free: 18.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.1589, allocations: 142.9 kB / 304.8 MB, free: 17.94 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.1589, allocations: 16.94 kB / 304.8 MB, free: 17.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.1589, allocations: 18.25 kB / 304.9 MB, free: 17.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.821e-05/0.159, allocations: 357.1 kB / 305.2 MB, free: 17.6 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/0.159, allocations: 3.094 kB / 305.2 MB, free: 17.6 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.361e-05/0.159, allocations: 8.422 kB / 305.2 MB, free: 17.6 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.565e-05/0.1591, allocations: 23.02 kB / 305.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1591, allocations: 0.5 kB / 305.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.603e-05/0.1591, allocations: 71.72 kB / 305.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1592, allocations: 5.344 kB / 305.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1592, allocations: 2.969 kB / 305.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1592, allocations: 0.6562 kB / 305.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.109e-05/0.1592, allocations: 13.36 kB / 305.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1592, allocations: 3.453 kB / 305.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.365e-05/0.1592, allocations: 2.359 kB / 305.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.1593, allocations: 1.594 kB / 305.3 MB, free: 17.55 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 (5): * Single equations (assignments): 5 * 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.67e-05/0.1593, allocations: 119.1 kB / 305.5 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.1593, allocations: 25.25 kB / 305.5 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.1595, allocations: 87.72 kB / 305.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1595, allocations: 1.156 kB / 305.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.1595, allocations: 0.5625 kB / 305.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1595, allocations: 0.6562 kB / 305.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.1598, allocations: 276.2 kB / 305.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1598, allocations: 4.578 kB / 305.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.06e-05/0.1598, allocations: 10.5 kB / 305.9 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1598, allocations: 5.188 kB / 305.9 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/0.1598, allocations: 0 / 305.9 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1598, allocations: 1.75 kB / 305.9 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1598, allocations: 0 / 305.9 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.489e-05/0.1599, allocations: 161.6 kB / 306 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.245e-05/0.1599, allocations: 34.5 kB / 306.1 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.1599, allocations: 6.078 kB / 306.1 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.613e-05/0.16, allocations: 2.703 kB / 306.1 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.16, allocations: 3.688 kB / 306.1 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.16, allocations: 1.656 kB / 306.1 MB, free: 17.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002239/0.1602, allocations: 280 kB / 306.3 MB, free: 17.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1602, allocations: 4 kB / 306.3 MB, free: 17.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000142/0.1604, allocations: 22.86 kB / 306.4 MB, free: 17.01 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 (5): * Single equations (assignments): 5 * 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.000978/0.1613, allocations: 0.4922 MB / 306.9 MB, free: 16.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.532e-05/0.1614, allocations: 27.39 kB / 306.9 MB, free: 16.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.1614, allocations: 3.906 kB / 306.9 MB, free: 16.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.023e-05/0.1614, allocations: 14.48 kB / 306.9 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.1616, allocations: 32.41 kB / 306.9 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006716/0.1623, allocations: 0.5813 MB / 307.5 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.229e-05/0.1624, allocations: 119.7 kB / 307.6 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.325e-05/0.1624, allocations: 11.05 kB / 307.6 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.721e-05/0.1625, allocations: 57.3 kB / 307.7 MB, free: 16.27 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1625, allocations: 0 / 307.7 MB, free: 16.27 MB / 282.7 MB Notification: Performance of Templates: time 0.004082/0.1666, allocations: 1.443 MB / 309.1 MB, free: 16.08 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.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.9607232636772096]