Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.001017/0.001017, 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.000964/0.000964, 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.9516/0.9516, allocations: 158.6 MB / 186 MB, free: 2.758 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.1443/0.1443, 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.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 299.2 MB, free: 2.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/3e-05, allocations: 2.312 kB / 299.2 MB, free: 2.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003854/0.003884, allocations: 1.852 MB / 301 MB, free: 232 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1428/0.1467, allocations: 0.8696 MB / 301.9 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1468, allocations: 5.062 kB / 301.9 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006183/0.1474, allocations: 307.5 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003915/0.1478, allocations: 217.4 kB / 302.4 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.1481, allocations: 143.2 kB / 302.6 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003964/0.1485, allocations: 248.7 kB / 302.8 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.475e-05/0.1486, allocations: 9.438 kB / 302.8 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.1488, allocations: 146 kB / 303 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.1491, allocations: 173 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.1491, allocations: 6.781 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.1492, allocations: 48.53 kB / 303.2 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.1494, allocations: 142.2 kB / 303.3 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.484e-05/0.1494, allocations: 71.89 kB / 303.4 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.1498, allocations: 272.1 kB / 303.7 MB, free: 18.97 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.1498, allocations: 3.938 kB / 303.7 MB, free: 18.97 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1498, allocations: 0.5625 kB / 303.7 MB, free: 18.97 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1498, allocations: 0 / 303.7 MB, free: 18.97 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006343/0.1504, allocations: 0.6201 MB / 304.3 MB, free: 18.52 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1505, allocations: 9.844 kB / 304.3 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.826e-05/0.1505, allocations: 29.75 kB / 304.3 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.1508, allocations: 304.4 kB / 304.6 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.1508, allocations: 6.828 kB / 304.6 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.1508, allocations: 4.562 kB / 304.6 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.151, allocations: 90.62 kB / 304.7 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.151, allocations: 5.594 kB / 304.7 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-06/0.151, allocations: 1.828 kB / 304.7 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-06/0.151, allocations: 1.094 kB / 304.7 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.58e-05/0.151, allocations: 19.8 kB / 304.7 MB, free: 18.22 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.1512, allocations: 115.5 kB / 304.9 MB, free: 18.13 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.1513, allocations: 83.67 kB / 304.9 MB, free: 18.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.1513, allocations: 23.41 kB / 305 MB, free: 18.06 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.1513, allocations: 4.234 kB / 305 MB, free: 18.06 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001199/0.1515, allocations: 99.81 kB / 305.1 MB, free: 17.99 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.1515, allocations: 0 / 305.1 MB, free: 17.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001864/0.1517, allocations: 109.1 kB / 305.2 MB, free: 17.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.1517, allocations: 88.41 kB / 305.3 MB, free: 17.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/0.1522, allocations: 0.6 MB / 305.9 MB, free: 17.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1522, allocations: 27.98 kB / 305.9 MB, free: 17.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.1523, allocations: 146.1 kB / 306 MB, free: 17.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.1523, allocations: 26.42 kB / 306 MB, free: 17.58 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.1523, allocations: 30.09 kB / 306.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.329e-05/0.1524, allocations: 366.5 kB / 306.4 MB, free: 17.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/0.1524, allocations: 13.2 kB / 306.4 MB, free: 17.22 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.167e-05/0.1525, allocations: 37.23 kB / 306.5 MB, free: 17.19 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.516e-05/0.1525, allocations: 72.03 kB / 306.6 MB, free: 17.14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.1525, allocations: 4.609 kB / 306.6 MB, free: 17.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001273/0.1527, allocations: 111.1 kB / 306.7 MB, free: 17.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1527, allocations: 6.422 kB / 306.7 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1527, allocations: 0 / 306.7 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1527, allocations: 2.5 kB / 306.7 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-05/0.1528, allocations: 24.91 kB / 306.7 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.1528, allocations: 7.141 kB / 306.7 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.529e-05/0.1528, allocations: 17.81 kB / 306.7 MB, free: 17.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.1528, allocations: 3.25 kB / 306.7 MB, free: 17.08 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 7.416e-05/0.1529, allocations: 127.1 kB / 306.9 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.153, allocations: 29.66 kB / 306.9 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.1531, allocations: 116.7 kB / 307 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1531, allocations: 2.016 kB / 307 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1531, allocations: 5.312 kB / 307 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1531, allocations: 2.094 kB / 307 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.1533, allocations: 160.8 kB / 307.2 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1533, allocations: 5.562 kB / 307.2 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.1533, allocations: 10.44 kB / 307.2 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1533, allocations: 1.188 kB / 307.2 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.1533, allocations: 3.672 kB / 307.2 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.1533, allocations: 0 / 307.2 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1533, allocations: 2.641 kB / 307.2 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.1535, allocations: 146.2 kB / 307.3 MB, free: 16.7 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.1535, allocations: 54.31 kB / 307.4 MB, free: 16.67 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.1535, allocations: 7.109 kB / 307.4 MB, free: 16.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.776e-05/0.1536, allocations: 4.125 kB / 307.4 MB, free: 16.67 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.1536, allocations: 14.11 kB / 307.4 MB, free: 16.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.1537, allocations: 12.16 kB / 307.4 MB, free: 16.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000319/0.154, allocations: 310 kB / 307.7 MB, free: 16.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.154, allocations: 0 / 307.7 MB, free: 16.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001769/0.1541, allocations: 42.75 kB / 307.8 MB, free: 16.61 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001013/0.1552, allocations: 0.5104 MB / 308.3 MB, free: 16.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.1553, allocations: 53.78 kB / 308.3 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-05/0.1553, allocations: 9.594 kB / 308.3 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.809e-05/0.1554, allocations: 32.36 kB / 308.4 MB, free: 16.3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.1556, allocations: 78.25 kB / 308.4 MB, free: 16.26 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006836/0.1563, allocations: 0.6425 MB / 309.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.429e-05/0.1564, allocations: 139.2 kB / 309.2 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.768e-05/0.1565, allocations: 39.22 kB / 309.3 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.1566, allocations: 97.14 kB / 309.4 MB, free: 15.73 MB / 282.7 MB Notification: Performance of SimCode: time 1.193e-06/0.1566, allocations: 1.062 kB / 309.4 MB, free: 15.73 MB / 282.7 MB Notification: Performance of Templates: time 0.007181/0.1638, allocations: 4.263 MB / 313.6 MB, free: 14.32 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.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.0581494122743607]