Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.001008/0.001008, allocations: 80.05 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.001124/0.001124, allocations: 169 kB / 24.14 MB, free: 364 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.839/0.839, allocations: 158.6 MB / 186 MB, free: 2.777 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.1234/0.1234, allocations: 32.38 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.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.457e-05/1.611e-05, allocations: 2.312 kB / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002157/0.002173, allocations: 1.731 MB / 300.9 MB, free: 396 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1383/0.1405, allocations: 1.526 MB / 302.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.095e-05/0.1406, allocations: 1.031 kB / 302.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.1409, allocations: 35.89 kB / 302.4 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.1412, allocations: 75.83 kB / 302.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.1415, allocations: 83.36 kB / 302.6 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.1417, allocations: 98.98 kB / 302.7 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.1418, allocations: 8.703 kB / 302.7 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.142, allocations: 54.33 kB / 302.8 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.1421, allocations: 26.95 kB / 302.8 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.1422, allocations: 4.938 kB / 302.8 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.1423, allocations: 60.73 kB / 302.8 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.1423, allocations: 22.72 kB / 302.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.784e-05/0.1424, allocations: 21.34 kB / 302.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.1426, allocations: 117 kB / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1426, allocations: 0 / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1426, allocations: 0 / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1426, allocations: 0 / 303 MB, free: 19.09 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004027/0.143, allocations: 302.1 kB / 303.3 MB, free: 18.81 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.143, allocations: 10.73 kB / 303.3 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.1431, allocations: 11.41 kB / 303.3 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.1432, allocations: 142.1 kB / 303.5 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.1432, allocations: 3.312 kB / 303.5 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.1433, allocations: 6.781 kB / 303.5 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.1434, allocations: 102.6 kB / 303.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1434, allocations: 6.125 kB / 303.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.1434, allocations: 0.7031 kB / 303.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.1435, allocations: 2.688 kB / 303.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.944e-05/0.1435, allocations: 10.56 kB / 303.6 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.1437, allocations: 167.2 kB / 303.7 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.1438, allocations: 85.78 kB / 303.8 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.3e-05/0.1439, allocations: 12.28 kB / 303.8 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.1439, allocations: 1.734 kB / 303.8 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/0.144, allocations: 71.05 kB / 303.9 MB, free: 18.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.826e-06/0.144, allocations: 0.6562 kB / 303.9 MB, free: 18.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003274/0.1443, allocations: 110.6 kB / 304 MB, free: 18.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.1443, allocations: 80.33 kB / 304.1 MB, free: 18.13 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.1444, allocations: 154.7 kB / 304.3 MB, free: 18.01 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1445, allocations: 28.8 kB / 304.3 MB, free: 17.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.657e-05/0.1445, allocations: 90.8 kB / 304.4 MB, free: 17.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.1445, allocations: 29.61 kB / 304.4 MB, free: 17.87 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.1446, allocations: 32.02 kB / 304.4 MB, free: 17.85 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.616e-05/0.1446, allocations: 325.3 kB / 304.7 MB, free: 17.53 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.949e-05/0.1446, allocations: 10.48 kB / 304.8 MB, free: 17.53 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.5e-05/0.1446, allocations: 53.2 kB / 304.8 MB, free: 17.47 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.854e-05/0.1447, allocations: 43.8 kB / 304.9 MB, free: 17.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1447, allocations: 1.5 kB / 304.9 MB, free: 17.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.298e-05/0.1448, allocations: 69.7 kB / 304.9 MB, free: 17.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1448, allocations: 10.02 kB / 304.9 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1448, allocations: 5.125 kB / 304.9 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1448, allocations: 0 / 304.9 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-05/0.1449, allocations: 23.55 kB / 305 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1449, allocations: 1.156 kB / 305 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.374e-05/0.1449, allocations: 5.391 kB / 305 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.1449, allocations: 1.188 kB / 305 MB, free: 17.4 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 (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 5.798e-05/0.145, allocations: 119.7 kB / 305.1 MB, free: 17.28 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.145, allocations: 11.5 kB / 305.1 MB, free: 17.28 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.1451, allocations: 76.34 kB / 305.2 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1451, allocations: 1.688 kB / 305.2 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.1451, allocations: 1.5 kB / 305.2 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1451, allocations: 1.156 kB / 305.2 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.1454, allocations: 297.8 kB / 305.5 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1454, allocations: 0 / 305.5 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.47e-05/0.1454, allocations: 12.95 kB / 305.5 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1454, allocations: 5.219 kB / 305.5 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.1454, allocations: 5.859 kB / 305.5 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1454, allocations: 2.219 kB / 305.5 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1454, allocations: 1.125 kB / 305.5 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.1455, allocations: 214 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.137e-05/0.1455, allocations: 7.625 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.1455, allocations: 7.578 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.968e-05/0.1456, allocations: 2.234 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.1456, allocations: 5.531 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.1456, allocations: 3.625 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.916e-05/0.1457, allocations: 39.59 kB / 305.8 MB, free: 16.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1457, allocations: 4 kB / 305.8 MB, free: 16.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001733/0.1458, allocations: 32.33 kB / 305.8 MB, free: 16.77 MB / 282.7 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 (9): * Single equations (assignments): 7 * 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.001448/0.1473, allocations: 0.6414 MB / 306.4 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.1474, allocations: 36 kB / 306.5 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.1474, allocations: 5.062 kB / 306.5 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.344e-05/0.1474, allocations: 20.95 kB / 306.5 MB, free: 16.37 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.1476, allocations: 38.97 kB / 306.5 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.148, allocations: 200.9 kB / 306.7 MB, free: 16.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.341e-05/0.148, allocations: 64.48 kB / 306.8 MB, free: 16.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.898e-05/0.1481, allocations: 13.06 kB / 306.8 MB, free: 16.12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.213e-05/0.1482, allocations: 72.5 kB / 306.9 MB, free: 16.08 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1482, allocations: 0 / 306.9 MB, free: 16.08 MB / 282.7 MB Notification: Performance of Templates: time 0.005109/0.1533, allocations: 2.311 MB / 309.2 MB, free: 15.77 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.021430613938719]