Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.0009738/0.0009738, 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.001118/0.001118, 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.9329/0.9329, 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.1347/0.1347, allocations: 32.39 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.521e-05, allocations: 6.312 kB / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002166/0.002181, allocations: 1.735 MB / 300.9 MB, free: 388 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1441/0.1462, allocations: 0.789 MB / 301.7 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.071e-05/0.1463, allocations: 1.125 kB / 301.7 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.1466, allocations: 42.22 kB / 301.7 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.1468, allocations: 64.8 kB / 301.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.147, allocations: 86.12 kB / 301.9 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.1472, allocations: 93.59 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.066e-05/0.1473, allocations: 9.719 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.497e-05/0.1474, allocations: 55.28 kB / 302 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.443e-05/0.1474, allocations: 27.14 kB / 302 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.1475, allocations: 5.75 kB / 302 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-05/0.1475, allocations: 41.59 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.458e-05/0.1476, allocations: 25.17 kB / 302.1 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.1476, allocations: 17.83 kB / 302.1 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.1478, allocations: 98.75 kB / 302.2 MB, free: 19.13 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1478, allocations: 0 / 302.2 MB, free: 19.13 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1478, allocations: 2.25 kB / 302.2 MB, free: 19.13 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.1478, allocations: 0.5938 kB / 302.2 MB, free: 19.13 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.00033/0.1481, allocations: 314.2 kB / 302.5 MB, free: 18.85 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1481, allocations: 9.234 kB / 302.5 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.1482, allocations: 9.141 kB / 302.6 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.1483, allocations: 143.3 kB / 302.7 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1483, allocations: 1.75 kB / 302.7 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.1483, allocations: 8.094 kB / 302.7 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.734e-05/0.1484, allocations: 64.2 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.1484, allocations: 3.938 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.1484, allocations: 3.578 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.1484, allocations: 2.094 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.407e-05/0.1485, allocations: 8.453 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.1486, allocations: 165.5 kB / 302.9 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.25e-05/0.1487, allocations: 86.88 kB / 303 MB, free: 18.44 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.1487, allocations: 17.16 kB / 303 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.1488, allocations: 0.8125 kB / 303 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.218e-05/0.1488, allocations: 70.47 kB / 303.1 MB, free: 18.37 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1488, allocations: 0.6562 kB / 303.1 MB, free: 18.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002886/0.1491, allocations: 111.5 kB / 303.2 MB, free: 18.33 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.1492, allocations: 52.72 kB / 303.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.702e-05/0.1492, allocations: 163.8 kB / 303.4 MB, free: 18.15 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.1493, allocations: 31.41 kB / 303.5 MB, free: 18.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.239e-05/0.1493, allocations: 97.36 kB / 303.6 MB, free: 18.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.1493, allocations: 28.62 kB / 303.6 MB, free: 18.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.1493, allocations: 26.5 kB / 303.6 MB, free: 18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.1494, allocations: 324.5 kB / 303.9 MB, free: 17.69 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.1494, allocations: 10.08 kB / 303.9 MB, free: 17.69 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.312e-05/0.1494, allocations: 25.67 kB / 304 MB, free: 17.67 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.482e-05/0.1495, allocations: 41.8 kB / 304 MB, free: 17.65 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1495, allocations: 0 / 304 MB, free: 17.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.208e-05/0.1495, allocations: 80.97 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1496, allocations: 6.375 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1496, allocations: 0.75 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1496, allocations: 4.844 kB / 304.1 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/0.1496, allocations: 14.75 kB / 304.1 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.1496, allocations: 1.312 kB / 304.1 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.733e-05/0.1497, allocations: 2.672 kB / 304.1 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.1497, allocations: 3.547 kB / 304.1 MB, free: 17.6 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.482e-05/0.1497, allocations: 119.2 kB / 304.2 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.1497, allocations: 18.31 kB / 304.3 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.1499, allocations: 69.27 kB / 304.3 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.1499, allocations: 3.594 kB / 304.3 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1499, allocations: 2.062 kB / 304.3 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1499, allocations: 1.766 kB / 304.3 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.1501, allocations: 293.8 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1501, allocations: 4.812 kB / 304.6 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.56e-05/0.1501, allocations: 13.72 kB / 304.6 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1501, allocations: 1.156 kB / 304.6 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1501, allocations: 5.125 kB / 304.6 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1501, allocations: 1.125 kB / 304.6 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1501, allocations: 2.031 kB / 304.6 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.119e-05/0.1502, allocations: 219.2 kB / 304.9 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.1502, allocations: 8.109 kB / 304.9 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.1502, allocations: 1.688 kB / 304.9 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.417e-05/0.1503, allocations: 3.562 kB / 304.9 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.1503, allocations: 14.58 kB / 304.9 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.1503, allocations: 2.938 kB / 304.9 MB, free: 17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.384e-05/0.1503, allocations: 48.3 kB / 304.9 MB, free: 16.99 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1503, allocations: 0 / 304.9 MB, free: 16.99 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001456/0.1505, allocations: 22.69 kB / 305 MB, free: 16.98 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.001133/0.1516, allocations: 0.5674 MB / 305.5 MB, free: 16.67 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.971e-05/0.1517, allocations: 44.91 kB / 305.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1517, allocations: 5.031 kB / 305.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.868e-05/0.1517, allocations: 29.28 kB / 305.6 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.0001732/0.1519, allocations: 43.5 kB / 305.6 MB, free: 16.62 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.1522, allocations: 210.9 kB / 305.9 MB, free: 16.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.196e-05/0.1522, allocations: 70.72 kB / 305.9 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.77e-05/0.1523, allocations: 12.77 kB / 305.9 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.1523, allocations: 65.56 kB / 306 MB, free: 16.34 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1523, allocations: 1.125 kB / 306 MB, free: 16.34 MB / 282.7 MB Notification: Performance of Templates: time 0.004117/0.1565, allocations: 2.003 MB / 308 MB, free: 16.09 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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.117475156672299]