Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.001471/0.001471, 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.0014/0.0014, allocations: 169.3 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.8646/0.8646, allocations: 158.6 MB / 186 MB, free: 2.754 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.1372/0.1372, 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.292e-05, allocations: 2.312 kB / 299.1 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002297/0.00232, allocations: 1.735 MB / 300.9 MB, free: 384 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1449/0.1472, allocations: 1.524 MB / 302.4 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.119e-05/0.1473, allocations: 1.438 kB / 302.4 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.1476, allocations: 42.56 kB / 302.5 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.1478, allocations: 63.86 kB / 302.5 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.148, allocations: 87.89 kB / 302.6 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.1481, allocations: 94.62 kB / 302.7 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.1e-05/0.1482, allocations: 10.16 kB / 302.7 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.133e-05/0.1483, allocations: 54.97 kB / 302.8 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.554e-05/0.1484, allocations: 33.14 kB / 302.8 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.1484, allocations: 4.719 kB / 302.8 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.298e-05/0.1485, allocations: 56.56 kB / 302.8 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/0.1485, allocations: 25.59 kB / 302.9 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.1486, allocations: 15.86 kB / 302.9 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.1487, allocations: 114.7 kB / 303 MB, free: 19.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1487, allocations: 1.812 kB / 303 MB, free: 19.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1487, allocations: 0 / 303 MB, free: 19.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.1487, allocations: 0 / 303 MB, free: 19.07 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.0003081/0.1491, allocations: 305.4 kB / 303.3 MB, free: 18.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1491, allocations: 9.359 kB / 303.3 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.1491, allocations: 8.469 kB / 303.3 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.1492, allocations: 140.5 kB / 303.5 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1493, allocations: 3.781 kB / 303.5 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.1493, allocations: 10.44 kB / 303.5 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.1494, allocations: 101.4 kB / 303.6 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1494, allocations: 5.594 kB / 303.6 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-06/0.1494, allocations: 1.625 kB / 303.6 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1494, allocations: 1.344 kB / 303.6 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.565e-05/0.1494, allocations: 10.89 kB / 303.6 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.1496, allocations: 166 kB / 303.7 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.922e-05/0.1497, allocations: 90.72 kB / 303.8 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.1497, allocations: 14.7 kB / 303.9 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.1497, allocations: 1.094 kB / 303.9 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.61e-05/0.1498, allocations: 68.38 kB / 303.9 MB, free: 18.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1498, allocations: 0.6562 kB / 303.9 MB, free: 18.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000263/0.1501, allocations: 109.3 kB / 304 MB, free: 18.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.1501, allocations: 82.78 kB / 304.1 MB, free: 18.12 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.348e-05/0.1502, allocations: 153.6 kB / 304.3 MB, free: 18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.1502, allocations: 29.52 kB / 304.3 MB, free: 17.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.036e-05/0.1502, allocations: 89.98 kB / 304.4 MB, free: 17.88 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.1502, allocations: 26.81 kB / 304.4 MB, free: 17.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.1503, allocations: 32.03 kB / 304.4 MB, free: 17.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.003e-05/0.1503, allocations: 321.7 kB / 304.7 MB, free: 17.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.1503, allocations: 14.39 kB / 304.8 MB, free: 17.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.308e-05/0.1504, allocations: 57.48 kB / 304.8 MB, free: 17.46 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.08e-05/0.1504, allocations: 39.09 kB / 304.9 MB, free: 17.44 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1504, allocations: 1.719 kB / 304.9 MB, free: 17.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.544e-05/0.1505, allocations: 76.25 kB / 304.9 MB, free: 17.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1505, allocations: 5.156 kB / 304.9 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1505, allocations: 4.531 kB / 304.9 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1505, allocations: 2.484 kB / 304.9 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.226e-05/0.1506, allocations: 14.5 kB / 305 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1506, allocations: 3.266 kB / 305 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.696e-05/0.1506, allocations: 4.172 kB / 305 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.1506, allocations: 1.062 kB / 305 MB, free: 17.39 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 4.82e-05/0.1507, allocations: 130.6 kB / 305.1 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.1507, allocations: 12.03 kB / 305.1 MB, free: 17.26 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.383e-05/0.1508, allocations: 74.69 kB / 305.2 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1508, allocations: 1.594 kB / 305.2 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.1508, allocations: 2.062 kB / 305.2 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1508, allocations: 0.6094 kB / 305.2 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.151, allocations: 296 kB / 305.5 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.151, allocations: 1.094 kB / 305.5 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.256e-05/0.151, allocations: 12.67 kB / 305.5 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.151, allocations: 4.969 kB / 305.5 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.151, allocations: 2.328 kB / 305.5 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.151, allocations: 1.125 kB / 305.5 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.151, allocations: 1.281 kB / 305.5 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.928e-05/0.1511, allocations: 216 kB / 305.7 MB, free: 16.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.1511, allocations: 13.16 kB / 305.7 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.1511, allocations: 1.766 kB / 305.7 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.734e-05/0.1512, allocations: 3.734 kB / 305.7 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.1512, allocations: 9.859 kB / 305.7 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.1512, allocations: 3.141 kB / 305.7 MB, free: 16.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.501e-05/0.1512, allocations: 35.73 kB / 305.8 MB, free: 16.76 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1512, allocations: 0 / 305.8 MB, free: 16.76 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000148/0.1514, allocations: 32.45 kB / 305.8 MB, free: 16.75 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.001199/0.1526, allocations: 0.6376 MB / 306.4 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.071e-05/0.1527, allocations: 43.73 kB / 306.5 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1527, allocations: 1.125 kB / 306.5 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.16e-05/0.1527, allocations: 29.58 kB / 306.5 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.0001648/0.1529, allocations: 30.16 kB / 306.5 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/0.1531, allocations: 193.6 kB / 306.7 MB, free: 16.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.929e-05/0.1531, allocations: 64.31 kB / 306.8 MB, free: 16.13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.638e-05/0.1532, allocations: 13.22 kB / 306.8 MB, free: 16.13 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.989e-05/0.1533, allocations: 78.83 kB / 306.9 MB, free: 16.08 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1533, allocations: 1.156 kB / 306.9 MB, free: 16.08 MB / 282.7 MB Notification: Performance of Templates: time 0.004369/0.1576, allocations: 2.31 MB / 309.2 MB, free: 15.77 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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.000016403850168]