Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.001041/0.001041, 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.001969/0.001969, 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.9118/0.9118, 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.1351/0.1351, 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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 299.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257e-05/1.402e-05, allocations: 2.312 kB / 299.2 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002523/0.002537, allocations: 2.064 MB / 301.3 MB, free: 4 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1418/0.1444, allocations: 0.8822 MB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1445, allocations: 2.188 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.1448, allocations: 52.17 kB / 302.2 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.145, allocations: 73.41 kB / 302.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.1452, allocations: 124.5 kB / 302.4 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.1455, allocations: 198.3 kB / 302.6 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.769e-05/0.1456, allocations: 24.11 kB / 302.6 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.1457, allocations: 107.5 kB / 302.7 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.1458, allocations: 64.42 kB / 302.8 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.1458, allocations: 11.09 kB / 302.8 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.873e-05/0.1459, allocations: 53.22 kB / 302.8 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.061e-05/0.146, allocations: 38.33 kB / 302.9 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.125e-05/0.146, allocations: 49 kB / 302.9 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.1462, allocations: 162.4 kB / 303.1 MB, free: 19.01 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1462, allocations: 0 / 303.1 MB, free: 19.01 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1462, allocations: 1.562 kB / 303.1 MB, free: 19.01 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.85e-06/0.1462, allocations: 0.7812 kB / 303.1 MB, free: 19.01 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005129/0.1468, allocations: 462.9 kB / 303.5 MB, free: 18.63 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1468, allocations: 10.88 kB / 303.5 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.1468, allocations: 16.31 kB / 303.6 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.1471, allocations: 182 kB / 303.7 MB, free: 18.47 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.1471, allocations: 7.719 kB / 303.7 MB, free: 18.47 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.1471, allocations: 7.812 kB / 303.7 MB, free: 18.47 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.1473, allocations: 160.8 kB / 303.9 MB, free: 18.36 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1473, allocations: 6 kB / 303.9 MB, free: 18.36 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1473, allocations: 4.938 kB / 303.9 MB, free: 18.36 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1474, allocations: 3.25 kB / 303.9 MB, free: 18.36 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.81e-05/0.1474, allocations: 28.14 kB / 303.9 MB, free: 18.35 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.1477, allocations: 382.2 kB / 304.3 MB, free: 18.03 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.1479, allocations: 115.6 kB / 304.4 MB, free: 17.95 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.411e-05/0.1479, allocations: 24.05 kB / 304.5 MB, free: 17.95 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.1479, allocations: 2.5 kB / 304.5 MB, free: 17.95 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.1481, allocations: 115.7 kB / 304.6 MB, free: 17.86 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.1481, allocations: 1.031 kB / 304.6 MB, free: 17.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001769/0.1483, allocations: 97.38 kB / 304.7 MB, free: 17.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.928e-05/0.1483, allocations: 55.2 kB / 304.7 MB, free: 17.76 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.1484, allocations: 205.8 kB / 304.9 MB, free: 17.64 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.1484, allocations: 31.73 kB / 305 MB, free: 17.61 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.1485, allocations: 107.5 kB / 305.1 MB, free: 17.53 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.1485, allocations: 39.67 kB / 305.1 MB, free: 17.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.1485, allocations: 41.48 kB / 305.1 MB, free: 17.49 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.659e-05/0.1486, allocations: 336.2 kB / 305.5 MB, free: 17.17 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.799e-05/0.1486, allocations: 44.53 kB / 305.5 MB, free: 17.14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.76e-05/0.1487, allocations: 78.62 kB / 305.6 MB, free: 17.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.643e-05/0.1488, allocations: 119.1 kB / 305.7 MB, free: 16.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1488, allocations: 1.344 kB / 305.7 MB, free: 16.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001514/0.1489, allocations: 163 kB / 305.9 MB, free: 16.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.1489, allocations: 37.75 kB / 305.9 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.1489, allocations: 1.703 kB / 305.9 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.149, allocations: 2.219 kB / 305.9 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1491, allocations: 35.58 kB / 305.9 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1491, allocations: 6.844 kB / 305.9 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.1491, allocations: 24.08 kB / 306 MB, free: 16.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.1491, allocations: 5.688 kB / 306 MB, free: 16.83 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 6.393e-05/0.1492, allocations: 128.5 kB / 306.1 MB, free: 16.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.1492, allocations: 14.61 kB / 306.1 MB, free: 16.7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.1494, allocations: 92.52 kB / 306.2 MB, free: 16.67 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1494, allocations: 2.844 kB / 306.2 MB, free: 16.67 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.1494, allocations: 1.312 kB / 306.2 MB, free: 16.67 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1494, allocations: 2.047 kB / 306.2 MB, free: 16.67 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.56e-05/0.1495, allocations: 106.9 kB / 306.3 MB, free: 16.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1495, allocations: 11.88 kB / 306.3 MB, free: 16.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.159e-05/0.1495, allocations: 24.5 kB / 306.4 MB, free: 16.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1496, allocations: 0 / 306.4 MB, free: 16.58 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1496, allocations: 6.375 kB / 306.4 MB, free: 16.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1496, allocations: 1.094 kB / 306.4 MB, free: 16.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1496, allocations: 2 kB / 306.4 MB, free: 16.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.1497, allocations: 132.6 kB / 306.5 MB, free: 16.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.91e-05/0.1497, allocations: 24.7 kB / 306.5 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.1498, allocations: 2.922 kB / 306.5 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.265e-05/0.1498, allocations: 23.83 kB / 306.5 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.1499, allocations: 16.23 kB / 306.6 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.1499, allocations: 4.156 kB / 306.6 MB, free: 16.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.569e-05/0.15, allocations: 66.7 kB / 306.6 MB, free: 16.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.15, allocations: 0 / 306.6 MB, free: 16.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.1501, allocations: 39.36 kB / 306.7 MB, free: 16.46 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001028/0.1511, allocations: 0.5024 MB / 307.2 MB, free: 16.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.1513, allocations: 150 kB / 307.3 MB, free: 16.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.1513, allocations: 9.719 kB / 307.3 MB, free: 16.08 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.272e-05/0.1514, allocations: 42.8 kB / 307.4 MB, free: 16.06 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.1515, allocations: 60.27 kB / 307.4 MB, free: 16.04 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003818/0.1519, allocations: 296.5 kB / 307.7 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.155e-05/0.1519, allocations: 74.53 kB / 307.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.914e-05/0.152, allocations: 25.41 kB / 307.8 MB, free: 15.74 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.1521, allocations: 94.14 kB / 307.9 MB, free: 15.68 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1521, allocations: 0 / 307.9 MB, free: 15.68 MB / 282.7 MB Notification: Performance of Templates: time 0.005508/0.1576, allocations: 3.198 MB / 311.1 MB, free: 15.12 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.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.9303816170431674]