Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.001338/0.001338, allocations: 79.92 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.001072/0.001072, allocations: 169 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.8819/0.8819, 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.1326/0.1326, 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.36e-05, allocations: 2.312 kB / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002463/0.002487, allocations: 1.809 MB / 300.9 MB, free: 316 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1344/0.1368, allocations: 0.8726 MB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.665e-05/0.1369, allocations: 4.906 kB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005466/0.1375, allocations: 309 kB / 302.1 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003846/0.1379, allocations: 219 kB / 302.3 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.1382, allocations: 140.8 kB / 302.5 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.1385, allocations: 249 kB / 302.7 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.626e-05/0.1386, allocations: 12.86 kB / 302.7 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.1388, allocations: 148.5 kB / 302.9 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.139, allocations: 171.7 kB / 303 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.139, allocations: 6.906 kB / 303.1 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.359e-05/0.1391, allocations: 49.7 kB / 303.1 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.1393, allocations: 138.9 kB / 303.2 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.917e-05/0.1393, allocations: 71.8 kB / 303.3 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.1397, allocations: 274 kB / 303.6 MB, free: 19 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1397, allocations: 0 / 303.6 MB, free: 19 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1397, allocations: 1.656 kB / 303.6 MB, free: 19 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1397, allocations: 0 / 303.6 MB, free: 19 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.0006562/0.1403, allocations: 0.6205 MB / 304.2 MB, free: 18.55 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1404, allocations: 10.19 kB / 304.2 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.058e-05/0.1404, allocations: 28.75 kB / 304.2 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.1407, allocations: 299.9 kB / 304.5 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.1408, allocations: 3.859 kB / 304.5 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.1408, allocations: 3.359 kB / 304.5 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1409, allocations: 95.45 kB / 304.6 MB, free: 18.26 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1409, allocations: 5.594 kB / 304.6 MB, free: 18.26 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1409, allocations: 4.516 kB / 304.6 MB, free: 18.26 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.1409, allocations: 5.031 kB / 304.6 MB, free: 18.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.822e-05/0.141, allocations: 18.27 kB / 304.7 MB, free: 18.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.1412, allocations: 116.1 kB / 304.8 MB, free: 18.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.1413, allocations: 78.56 kB / 304.9 MB, free: 18.1 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.497e-05/0.1413, allocations: 28.33 kB / 304.9 MB, free: 18.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.1413, allocations: 3.719 kB / 304.9 MB, free: 18.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/0.1414, allocations: 96.78 kB / 305 MB, free: 18.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.1414, allocations: 2.562 kB / 305 MB, free: 18.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001958/0.1416, allocations: 108.7 kB / 305.1 MB, free: 17.97 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.1417, allocations: 84.03 kB / 305.2 MB, free: 17.88 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005391/0.1422, allocations: 0.592 MB / 305.8 MB, free: 17.74 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1422, allocations: 30.7 kB / 305.8 MB, free: 17.71 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.1423, allocations: 148.6 kB / 305.9 MB, free: 17.63 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.1423, allocations: 25.17 kB / 306 MB, free: 17.61 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.1423, allocations: 30.97 kB / 306 MB, free: 17.6 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.959e-05/0.1424, allocations: 371 kB / 306.4 MB, free: 17.28 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006042/0.1485, allocations: 13.84 kB / 306.4 MB, free: 17.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.394e-05/0.1485, allocations: 43.44 kB / 306.4 MB, free: 17.24 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.728e-05/0.1486, allocations: 67.16 kB / 306.5 MB, free: 17.19 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1486, allocations: 0.9688 kB / 306.5 MB, free: 17.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001353/0.1487, allocations: 108.1 kB / 306.6 MB, free: 17.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1487, allocations: 6.906 kB / 306.6 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1487, allocations: 2.969 kB / 306.6 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.1487, allocations: 2.047 kB / 306.6 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.479e-05/0.1488, allocations: 22.75 kB / 306.6 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.1488, allocations: 2.016 kB / 306.6 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.862e-05/0.1489, allocations: 17.23 kB / 306.6 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1489, allocations: 12.41 kB / 306.6 MB, free: 17.13 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.536e-05/0.149, allocations: 126.5 kB / 306.8 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.149, allocations: 29.36 kB / 306.8 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.1491, allocations: 118.3 kB / 306.9 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1491, allocations: 1.219 kB / 306.9 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.1491, allocations: 4.938 kB / 306.9 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1492, allocations: 1.828 kB / 306.9 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.1493, allocations: 160.8 kB / 307.1 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1493, allocations: 1.438 kB / 307.1 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.801e-05/0.1493, allocations: 17.66 kB / 307.1 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1493, allocations: 1.531 kB / 307.1 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1494, allocations: 6.688 kB / 307.1 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1494, allocations: 0 / 307.1 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.1494, allocations: 2.266 kB / 307.1 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.1495, allocations: 140.3 kB / 307.2 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.1495, allocations: 55.83 kB / 307.3 MB, free: 16.72 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.1496, allocations: 2.859 kB / 307.3 MB, free: 16.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.123e-05/0.1496, allocations: 4.797 kB / 307.3 MB, free: 16.72 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.1497, allocations: 13.92 kB / 307.3 MB, free: 16.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.1497, allocations: 12.42 kB / 307.3 MB, free: 16.71 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002977/0.15, allocations: 312.8 kB / 307.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.15, allocations: 1.344 kB / 307.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.1502, allocations: 41.55 kB / 307.7 MB, free: 16.67 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.007156/0.1574, allocations: 0.5057 MB / 308.2 MB, free: 16.4 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.1575, allocations: 57.83 kB / 308.2 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.1575, allocations: 5.406 kB / 308.2 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.538e-05/0.1575, allocations: 40.95 kB / 308.3 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.1578, allocations: 74.19 kB / 308.4 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007179/0.1585, allocations: 0.6447 MB / 309 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.34e-05/0.1586, allocations: 136.8 kB / 309.1 MB, free: 15.85 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.435e-05/0.1587, allocations: 37.84 kB / 309.2 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.1588, allocations: 94.38 kB / 309.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1588, allocations: 0 / 309.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of Templates: time 0.02553/0.1843, allocations: 4.265 MB / 313.5 MB, free: 14.39 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.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.9447164540179074]