Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.0009816/0.0009816, 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.001198/0.001198, 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.8839/0.8839, allocations: 158.6 MB / 186 MB, free: 2.77 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.1276/0.1276, allocations: 32.37 MB / 270.7 MB, free: 14.61 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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,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.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 299.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.569e-05, allocations: 2.312 kB / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002123/0.002138, allocations: 1.682 MB / 300.8 MB, free: 472 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004755/0.002614, allocations: 359.1 kB / 301.1 MB, free: 108 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.779e-05/0.002662, allocations: 0 / 301.1 MB, free: 108 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1429/0.1455, allocations: 448.8 kB / 301.6 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004356/0.146, allocations: 249.3 kB / 301.8 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003926/0.1464, allocations: 152.1 kB / 302 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.1467, allocations: 163.7 kB / 302.1 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1468, allocations: 18.05 kB / 302.2 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.147, allocations: 114.3 kB / 302.3 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.1472, allocations: 197.6 kB / 302.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1473, allocations: 4.094 kB / 302.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.286e-05/0.1473, allocations: 33.33 kB / 302.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.1475, allocations: 82.22 kB / 302.6 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.148e-05/0.1475, allocations: 39.42 kB / 302.6 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.1478, allocations: 196 kB / 302.8 MB, free: 19.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1478, allocations: 0.5938 kB / 302.8 MB, free: 19.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1478, allocations: 1.219 kB / 302.8 MB, free: 19.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1478, allocations: 0.6562 kB / 302.8 MB, free: 19.16 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.0004985/0.1483, allocations: 0.5379 MB / 303.3 MB, free: 18.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1483, allocations: 10.09 kB / 303.4 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.516e-05/0.1484, allocations: 23.05 kB / 303.4 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.1486, allocations: 249.1 kB / 303.6 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1486, allocations: 1.438 kB / 303.6 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.1486, allocations: 3.25 kB / 303.6 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.653e-05/0.1487, allocations: 58.83 kB / 303.7 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1487, allocations: 2.203 kB / 303.7 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1487, allocations: 9.328 kB / 303.7 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.1487, allocations: 1.062 kB / 303.7 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.368e-05/0.1487, allocations: 8.406 kB / 303.7 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/0.149, allocations: 201.3 kB / 303.9 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.1491, allocations: 34.69 kB / 303.9 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.58e-05/0.1491, allocations: 8.906 kB / 303.9 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.1492, allocations: 4.5 kB / 303.9 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.1492, allocations: 37 kB / 304 MB, free: 18.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.1492, allocations: 1.156 kB / 304 MB, free: 18.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002821/0.1495, allocations: 94.94 kB / 304.1 MB, free: 18.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.938e-05/0.1495, allocations: 56.5 kB / 304.1 MB, free: 18.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004172/0.1499, allocations: 0.5265 MB / 304.7 MB, free: 18.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.1499, allocations: 27.17 kB / 304.7 MB, free: 18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.15, allocations: 142.2 kB / 304.8 MB, free: 17.92 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.15, allocations: 18.27 kB / 304.8 MB, free: 17.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.15, allocations: 17.08 kB / 304.9 MB, free: 17.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.431e-05/0.1501, allocations: 356.3 kB / 305.2 MB, free: 17.58 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.1501, allocations: 4.984 kB / 305.2 MB, free: 17.58 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.176e-05/0.1501, allocations: 7.5 kB / 305.2 MB, free: 17.58 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.973e-05/0.1501, allocations: 24.25 kB / 305.2 MB, free: 17.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1501, allocations: 0.6562 kB / 305.2 MB, free: 17.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.662e-05/0.1502, allocations: 68.73 kB / 305.3 MB, free: 17.53 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1502, allocations: 5.234 kB / 305.3 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1502, allocations: 1.188 kB / 305.3 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.1502, allocations: 2.234 kB / 305.3 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.997e-05/0.1503, allocations: 13.72 kB / 305.3 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1503, allocations: 3.766 kB / 305.3 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.62e-05/0.1503, allocations: 2.812 kB / 305.3 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-06/0.1503, allocations: 5.031 kB / 305.3 MB, free: 17.53 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.141e-05/0.1504, allocations: 110.7 kB / 305.5 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.1504, allocations: 26.28 kB / 305.5 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.1505, allocations: 94.19 kB / 305.6 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1505, allocations: 1.25 kB / 305.6 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1505, allocations: 1.734 kB / 305.6 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1505, allocations: 0 / 305.6 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.1508, allocations: 270.6 kB / 305.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1508, allocations: 2.344 kB / 305.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-05/0.1508, allocations: 13.16 kB / 305.9 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1508, allocations: 0 / 305.9 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.1508, allocations: 4.609 kB / 305.9 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1508, allocations: 1.375 kB / 305.9 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1508, allocations: 0.5625 kB / 305.9 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.765e-05/0.1509, allocations: 163.1 kB / 306 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.1509, allocations: 34.41 kB / 306.1 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.1509, allocations: 2.438 kB / 306.1 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.751e-05/0.151, allocations: 3.094 kB / 306.1 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.151, allocations: 7.875 kB / 306.1 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.151, allocations: 3.125 kB / 306.1 MB, free: 17.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002771/0.1513, allocations: 281.5 kB / 306.3 MB, free: 17 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1513, allocations: 4 kB / 306.3 MB, free: 16.99 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001588/0.1515, allocations: 19.09 kB / 306.4 MB, free: 16.99 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.00104/0.1525, allocations: 0.4987 MB / 306.9 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.437e-05/0.1526, allocations: 22.34 kB / 306.9 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.535e-06/0.1526, allocations: 4.219 kB / 306.9 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.944e-05/0.1526, allocations: 15.42 kB / 306.9 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.1528, allocations: 31.78 kB / 306.9 MB, free: 16.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006147/0.1534, allocations: 0.5743 MB / 307.5 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.788e-05/0.1535, allocations: 123.6 kB / 307.6 MB, free: 16.31 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.774e-05/0.1535, allocations: 10.67 kB / 307.6 MB, free: 16.31 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.1536, allocations: 61.86 kB / 307.7 MB, free: 16.26 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1536, allocations: 0 / 307.7 MB, free: 16.26 MB / 282.7 MB Notification: Performance of Templates: time 0.004162/0.1577, allocations: 1.438 MB / 309.1 MB, free: 16.07 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.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.8567393948324025]