Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.001312/0.001312, 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.001613/0.001613, 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.871/0.871, 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.1287/0.1287, 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.247e-05, allocations: 2.312 kB / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.00332/0.003342, allocations: 1.727 MB / 300.9 MB, free: 396 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1418/0.1451, allocations: 0.7938 MB / 301.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.728e-05/0.1452, allocations: 5.094 kB / 301.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.1455, allocations: 82.48 kB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.1458, allocations: 79.23 kB / 301.8 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.146, allocations: 89.48 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.1462, allocations: 110.1 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.978e-05/0.1463, allocations: 7.391 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.1464, allocations: 68.61 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1465, allocations: 49.44 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.1465, allocations: 4.031 kB / 302.2 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.272e-05/0.1466, allocations: 45.45 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.362e-05/0.1466, allocations: 22.55 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.534e-05/0.1467, allocations: 21.48 kB / 302.2 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.1469, allocations: 101.2 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1469, allocations: 0 / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.1469, allocations: 2.297 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1469, allocations: 0 / 302.3 MB, free: 19.14 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.0005009/0.1474, allocations: 320.4 kB / 302.7 MB, free: 18.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.1474, allocations: 11.59 kB / 302.7 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.87e-05/0.1475, allocations: 7.719 kB / 302.7 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.1478, allocations: 150.5 kB / 302.8 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.1478, allocations: 2.344 kB / 302.8 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.1478, allocations: 5.969 kB / 302.8 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.148, allocations: 64.36 kB / 302.9 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.148, allocations: 5.375 kB / 302.9 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.148, allocations: 2.828 kB / 302.9 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.148, allocations: 5.281 kB / 302.9 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.914e-05/0.1481, allocations: 10.47 kB / 302.9 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003081/0.1484, allocations: 164.2 kB / 303.1 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.1485, allocations: 88.78 kB / 303.2 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.1485, allocations: 13.23 kB / 303.2 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.1486, allocations: 1.781 kB / 303.2 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/0.1487, allocations: 73.59 kB / 303.2 MB, free: 18.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.844e-06/0.1487, allocations: 0.6562 kB / 303.2 MB, free: 18.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003599/0.149, allocations: 110.3 kB / 303.4 MB, free: 18.33 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.1491, allocations: 53.31 kB / 303.4 MB, free: 18.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.1492, allocations: 176.2 kB / 303.6 MB, free: 18.15 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.1492, allocations: 30.33 kB / 303.6 MB, free: 18.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.733e-05/0.1492, allocations: 98.39 kB / 303.7 MB, free: 18.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.1493, allocations: 27.47 kB / 303.7 MB, free: 18.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.1493, allocations: 26.77 kB / 303.8 MB, free: 18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.469e-05/0.1494, allocations: 325.6 kB / 304.1 MB, free: 17.69 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.1494, allocations: 9.812 kB / 304.1 MB, free: 17.69 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.082e-05/0.1494, allocations: 22.58 kB / 304.1 MB, free: 17.67 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.863e-05/0.1495, allocations: 46.89 kB / 304.2 MB, free: 17.65 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1495, allocations: 0 / 304.2 MB, free: 17.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000119/0.1496, allocations: 76.53 kB / 304.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1496, allocations: 5.062 kB / 304.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1496, allocations: 1.219 kB / 304.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1496, allocations: 2.094 kB / 304.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.1497, allocations: 17.02 kB / 304.3 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.1497, allocations: 1.031 kB / 304.3 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.132e-05/0.1497, allocations: 5.828 kB / 304.3 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1497, allocations: 2.688 kB / 304.3 MB, free: 17.61 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.199e-05/0.1498, allocations: 120.6 kB / 304.4 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.1498, allocations: 15.12 kB / 304.4 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.1499, allocations: 77.34 kB / 304.5 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1499, allocations: 1.219 kB / 304.5 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1499, allocations: 2.266 kB / 304.5 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.15, allocations: 0.6562 kB / 304.5 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.1502, allocations: 297.3 kB / 304.8 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1502, allocations: 64 / 304.8 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.037e-05/0.1502, allocations: 18.44 kB / 304.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1502, allocations: 0 / 304.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.1502, allocations: 6.312 kB / 304.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1502, allocations: 1.719 kB / 304.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1502, allocations: 0 / 304.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.884e-05/0.1503, allocations: 221.1 kB / 305 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.1503, allocations: 13.64 kB / 305 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.1504, allocations: 3.125 kB / 305 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.099e-05/0.1504, allocations: 2.797 kB / 305 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.1504, allocations: 5.453 kB / 305 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.1504, allocations: 11.83 kB / 305 MB, free: 17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.105e-05/0.1505, allocations: 58.95 kB / 305.1 MB, free: 16.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1505, allocations: 3.938 kB / 305.1 MB, free: 16.97 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001665/0.1507, allocations: 27.47 kB / 305.1 MB, free: 16.97 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.00125/0.1519, allocations: 0.5687 MB / 305.7 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.641e-05/0.152, allocations: 40.19 kB / 305.7 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.152, allocations: 2.406 kB / 305.7 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.261e-05/0.1521, allocations: 25.02 kB / 305.8 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.1522, allocations: 41.02 kB / 305.8 MB, free: 16.62 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.1526, allocations: 232.4 kB / 306 MB, free: 16.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.379e-05/0.1526, allocations: 72.58 kB / 306.1 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.929e-05/0.1526, allocations: 12.47 kB / 306.1 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.1527, allocations: 67.06 kB / 306.2 MB, free: 16.33 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1527, allocations: 0 / 306.2 MB, free: 16.33 MB / 282.7 MB Notification: Performance of Templates: time 0.004446/0.1571, allocations: 2.009 MB / 308.2 MB, free: 16.08 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.944358868058771]