Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.001611/0.001611, 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.00173/0.00173, 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.937/0.937, 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.1402/0.1402, 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 299.2 MB, free: 2.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.195e-05/4.423e-05, allocations: 2.312 kB / 299.2 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003714/0.003758, allocations: 1.782 MB / 301 MB, free: 288 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1412/0.145, allocations: 0.7983 MB / 301.8 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.786e-05/0.145, allocations: 6 kB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.1454, allocations: 109 kB / 301.9 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.1456, allocations: 87.44 kB / 302 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.1459, allocations: 89.12 kB / 302.1 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.1461, allocations: 129.1 kB / 302.2 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.514e-05/0.1461, allocations: 11.53 kB / 302.2 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.1462, allocations: 72.41 kB / 302.3 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.1464, allocations: 60.33 kB / 302.3 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.1464, allocations: 4.656 kB / 302.3 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.388e-05/0.1465, allocations: 43.97 kB / 302.4 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.1465, allocations: 35.11 kB / 302.4 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.1466, allocations: 25.17 kB / 302.4 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.1467, allocations: 118.7 kB / 302.5 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1467, allocations: 0.8438 kB / 302.5 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1467, allocations: 1.531 kB / 302.5 MB, free: 19.12 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1467, allocations: 0.5625 kB / 302.5 MB, free: 19.12 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003737/0.1471, allocations: 347.4 kB / 302.9 MB, free: 18.83 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.1472, allocations: 9.844 kB / 302.9 MB, free: 18.83 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.1472, allocations: 11.27 kB / 302.9 MB, free: 18.83 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.1473, allocations: 157.9 kB / 303.1 MB, free: 18.69 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.1474, allocations: 2.562 kB / 303.1 MB, free: 18.69 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.1474, allocations: 12.67 kB / 303.1 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.1475, allocations: 70.2 kB / 303.1 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1475, allocations: 6.688 kB / 303.2 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.1475, allocations: 2.953 kB / 303.2 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1475, allocations: 1.094 kB / 303.2 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.691e-05/0.1476, allocations: 13.56 kB / 303.2 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/0.1478, allocations: 189.8 kB / 303.4 MB, free: 18.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.661e-05/0.1479, allocations: 100 kB / 303.5 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.256e-05/0.1479, allocations: 15.45 kB / 303.5 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.1479, allocations: 5.781 kB / 303.5 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.862e-05/0.148, allocations: 68.94 kB / 303.5 MB, free: 18.33 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.148, allocations: 2.688 kB / 303.5 MB, free: 18.33 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003292/0.1484, allocations: 139.9 kB / 303.7 MB, free: 18.29 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.1484, allocations: 54.27 kB / 303.7 MB, free: 18.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.1485, allocations: 204.1 kB / 303.9 MB, free: 18.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.1485, allocations: 31.78 kB / 304 MB, free: 18.08 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.649e-05/0.1485, allocations: 101.7 kB / 304.1 MB, free: 17.99 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.1486, allocations: 39.62 kB / 304.1 MB, free: 17.97 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.1486, allocations: 30.11 kB / 304.1 MB, free: 17.95 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.623e-05/0.1487, allocations: 327.6 kB / 304.5 MB, free: 17.64 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.1487, allocations: 14.33 kB / 304.5 MB, free: 17.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.08e-05/0.1487, allocations: 36.09 kB / 304.5 MB, free: 17.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.436e-05/0.1488, allocations: 54.84 kB / 304.6 MB, free: 17.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1488, allocations: 7.875 kB / 304.6 MB, free: 17.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001003/0.1489, allocations: 82.2 kB / 304.6 MB, free: 17.55 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1489, allocations: 6.391 kB / 304.6 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1489, allocations: 0.5938 kB / 304.6 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1489, allocations: 4.375 kB / 304.7 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.327e-05/0.149, allocations: 24.84 kB / 304.7 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-06/0.149, allocations: 1.188 kB / 304.7 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.149, allocations: 6.766 kB / 304.7 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.149, allocations: 3.047 kB / 304.7 MB, free: 17.55 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 (13): * Single equations (assignments): 13 * 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.198e-05/0.1491, allocations: 122.5 kB / 304.8 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.1491, allocations: 12.09 kB / 304.8 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.1492, allocations: 108 kB / 304.9 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1492, allocations: 1.5 kB / 304.9 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1492, allocations: 2.75 kB / 304.9 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1492, allocations: 0.7031 kB / 304.9 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.1495, allocations: 323.4 kB / 305.2 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1495, allocations: 0.9375 kB / 305.2 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.706e-05/0.1495, allocations: 15.92 kB / 305.3 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1495, allocations: 2.531 kB / 305.3 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1495, allocations: 8.047 kB / 305.3 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1495, allocations: 0 / 305.3 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1495, allocations: 5.312 kB / 305.3 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.1496, allocations: 232.5 kB / 305.5 MB, free: 16.94 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.34e-05/0.1496, allocations: 16.86 kB / 305.5 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.1496, allocations: 3.406 kB / 305.5 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.619e-05/0.1497, allocations: 5.344 kB / 305.5 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.1497, allocations: 8.812 kB / 305.5 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.1497, allocations: 8.656 kB / 305.5 MB, free: 16.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.588e-05/0.1498, allocations: 70.48 kB / 305.6 MB, free: 16.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1498, allocations: 1.156 kB / 305.6 MB, free: 16.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001609/0.15, allocations: 28.39 kB / 305.6 MB, free: 16.91 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 (13): * Single equations (assignments): 11 * 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.001288/0.1513, allocations: 0.5816 MB / 306.2 MB, free: 16.58 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.1514, allocations: 57.97 kB / 306.3 MB, free: 16.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.1514, allocations: 6.438 kB / 306.3 MB, free: 16.56 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.532e-05/0.1514, allocations: 33.53 kB / 306.3 MB, free: 16.55 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.1516, allocations: 37.03 kB / 306.4 MB, free: 16.54 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.152, allocations: 265.3 kB / 306.6 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.961e-05/0.152, allocations: 76.42 kB / 306.7 MB, free: 16.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.487e-05/0.1521, allocations: 17.03 kB / 306.7 MB, free: 16.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.778e-05/0.1521, allocations: 73.56 kB / 306.8 MB, free: 16.23 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1521, allocations: 1.562 kB / 306.8 MB, free: 16.23 MB / 282.7 MB Notification: Performance of Templates: time 0.004644/0.1568, allocations: 2.264 MB / 309 MB, free: 15.96 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.00130333378911]