Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.0009776/0.0009776, allocations: 79.92 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.001061/0.001061, allocations: 169 kB / 24.14 MB, free: 360 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.9679/0.9679, 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.1504/0.1504, 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 299.2 MB, free: 2.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.497e-05/1.642e-05, allocations: 2.312 kB / 299.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.00244/0.002456, allocations: 1.978 MB / 301.2 MB, free: 100 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1379/0.1403, allocations: 0.8362 MB / 302 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.1405, allocations: 6.375 kB / 302 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.1408, allocations: 45.17 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.141, allocations: 59.83 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.1413, allocations: 106.6 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.1415, allocations: 139.5 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1416, allocations: 23.61 kB / 302.4 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1417, allocations: 76.97 kB / 302.4 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.115e-05/0.1417, allocations: 38.95 kB / 302.5 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.1418, allocations: 7.156 kB / 302.5 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.071e-05/0.1419, allocations: 44.75 kB / 302.5 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.864e-05/0.1419, allocations: 28.38 kB / 302.6 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.1419, allocations: 29.58 kB / 302.6 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.1421, allocations: 128.2 kB / 302.7 MB, free: 19.08 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1421, allocations: 0 / 302.7 MB, free: 19.08 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1421, allocations: 1.719 kB / 302.7 MB, free: 19.08 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1422, allocations: 0.625 kB / 302.7 MB, free: 19.08 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004164/0.1426, allocations: 380.4 kB / 303.1 MB, free: 18.76 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1426, allocations: 10.16 kB / 303.1 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.1426, allocations: 17.06 kB / 303.1 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.1428, allocations: 161 kB / 303.3 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.1428, allocations: 8.969 kB / 303.3 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.1428, allocations: 8.438 kB / 303.3 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.143, allocations: 133.7 kB / 303.4 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.143, allocations: 5.594 kB / 303.4 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.143, allocations: 1.031 kB / 303.4 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.143, allocations: 2.094 kB / 303.4 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.635e-05/0.1431, allocations: 24.77 kB / 303.5 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.1434, allocations: 379.5 kB / 303.8 MB, free: 18.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1436, allocations: 102.2 kB / 303.9 MB, free: 18.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.182e-05/0.1437, allocations: 20.86 kB / 303.9 MB, free: 18.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.1437, allocations: 2.844 kB / 303.9 MB, free: 18.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.1438, allocations: 97.05 kB / 304 MB, free: 18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.1438, allocations: 1.125 kB / 304 MB, free: 18 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001886/0.144, allocations: 76.52 kB / 304.1 MB, free: 17.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.144, allocations: 54.28 kB / 304.2 MB, free: 17.9 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.1442, allocations: 186.3 kB / 304.4 MB, free: 17.78 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.1442, allocations: 26.92 kB / 304.4 MB, free: 17.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.1442, allocations: 101.8 kB / 304.5 MB, free: 17.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.1443, allocations: 33.58 kB / 304.5 MB, free: 17.64 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.1443, allocations: 31.22 kB / 304.5 MB, free: 17.63 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.246e-05/0.1443, allocations: 332.4 kB / 304.9 MB, free: 17.31 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.087e-05/0.1444, allocations: 15 kB / 304.9 MB, free: 17.31 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.355e-05/0.1444, allocations: 45.39 kB / 304.9 MB, free: 17.27 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.949e-05/0.1444, allocations: 69.03 kB / 305 MB, free: 17.22 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1444, allocations: 1.156 kB / 305 MB, free: 17.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.371e-05/0.1445, allocations: 93.48 kB / 305.1 MB, free: 17.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1446, allocations: 6.5 kB / 305.1 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1446, allocations: 1.25 kB / 305.1 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1446, allocations: 2.688 kB / 305.1 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/0.1446, allocations: 30.27 kB / 305.1 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.1446, allocations: 2.281 kB / 305.1 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.416e-05/0.1447, allocations: 17.28 kB / 305.1 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1447, allocations: 8.234 kB / 305.2 MB, free: 17.16 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 4.514e-05/0.1447, allocations: 124.4 kB / 305.3 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.1447, allocations: 11.19 kB / 305.3 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.566e-05/0.1448, allocations: 75.61 kB / 305.4 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1448, allocations: 1.531 kB / 305.4 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1448, allocations: 1.734 kB / 305.4 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1449, allocations: 1.5 kB / 305.4 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.353e-05/0.1449, allocations: 94.61 kB / 305.5 MB, free: 16.92 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1449, allocations: 5.375 kB / 305.5 MB, free: 16.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.145, allocations: 16.64 kB / 305.5 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.145, allocations: 6.297 kB / 305.5 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.145, allocations: 0.7969 kB / 305.5 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.145, allocations: 1.406 kB / 305.5 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.145, allocations: 0 / 305.5 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.1451, allocations: 119.9 kB / 305.6 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.984e-05/0.1451, allocations: 24.47 kB / 305.6 MB, free: 16.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.1451, allocations: 2.938 kB / 305.6 MB, free: 16.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.942e-05/0.1452, allocations: 7.797 kB / 305.6 MB, free: 16.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.1452, allocations: 10.58 kB / 305.6 MB, free: 16.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.1452, allocations: 2.25 kB / 305.6 MB, free: 16.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.811e-05/0.1453, allocations: 60.3 kB / 305.7 MB, free: 16.8 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1453, allocations: 0 / 305.7 MB, free: 16.8 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00013/0.1454, allocations: 25.69 kB / 305.7 MB, free: 16.8 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001/0.1464, allocations: 0.5078 MB / 306.2 MB, free: 16.53 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.1465, allocations: 50.2 kB / 306.3 MB, free: 16.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.1465, allocations: 5.219 kB / 306.3 MB, free: 16.51 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.961e-05/0.1465, allocations: 24.52 kB / 306.3 MB, free: 16.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.1467, allocations: 51.34 kB / 306.4 MB, free: 16.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.1471, allocations: 257.3 kB / 306.6 MB, free: 16.31 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.57e-05/0.1471, allocations: 69.88 kB / 306.7 MB, free: 16.24 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.802e-05/0.1472, allocations: 14.59 kB / 306.7 MB, free: 16.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.683e-05/0.1473, allocations: 73.16 kB / 306.8 MB, free: 16.18 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1473, allocations: 4 kB / 306.8 MB, free: 16.18 MB / 282.7 MB Notification: Performance of Templates: time 0.005032/0.1523, allocations: 2.195 MB / 309 MB, free: 15.92 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.920659795869142]