Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.001082/0.001082, allocations: 80.05 kB / 20.72 MB, free: 3.762 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.001804/0.001804, allocations: 169 kB / 24.14 MB, free: 352 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.952/0.952, allocations: 158.6 MB / 186 MB, free: 2.773 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.1426/0.1426, 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 299.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.238e-05/1.364e-05, allocations: 2.312 kB / 299.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.00233/0.002343, allocations: 1.743 MB / 300.9 MB, free: 336 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1423/0.1447, allocations: 0.7766 MB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.637e-05/0.1447, allocations: 4.938 kB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004216/0.1452, allocations: 48.95 kB / 301.8 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.1454, allocations: 65.69 kB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.1457, allocations: 78.8 kB / 301.9 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.1459, allocations: 102.9 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.1459, allocations: 3.062 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.146, allocations: 55.7 kB / 302.1 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.561e-05/0.1461, allocations: 33.92 kB / 302.1 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.1461, allocations: 6.094 kB / 302.1 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.998e-05/0.1462, allocations: 29.98 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.1462, allocations: 19.69 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.1463, allocations: 16.34 kB / 302.2 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.1464, allocations: 80.72 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1465, allocations: 3.938 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1465, allocations: 0 / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1465, allocations: 0.8125 kB / 302.2 MB, free: 19.16 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003269/0.1468, allocations: 299.4 kB / 302.5 MB, free: 18.89 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1468, allocations: 10.17 kB / 302.5 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.1469, allocations: 10.52 kB / 302.6 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.147, allocations: 145.2 kB / 302.7 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.147, allocations: 2.062 kB / 302.7 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-06/0.147, allocations: 2.531 kB / 302.7 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.1471, allocations: 61.17 kB / 302.8 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.1471, allocations: 4.719 kB / 302.8 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.1471, allocations: 1.766 kB / 302.8 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.1471, allocations: 0.5312 kB / 302.8 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.1472, allocations: 7.328 kB / 302.8 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.764e-05/0.1473, allocations: 69.48 kB / 302.8 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.492e-05/0.1473, allocations: 49.58 kB / 302.9 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.912e-05/0.1474, allocations: 9.953 kB / 302.9 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.1474, allocations: 2.609 kB / 302.9 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.918e-05/0.1475, allocations: 61.28 kB / 303 MB, free: 18.53 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1475, allocations: 0.6562 kB / 303 MB, free: 18.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001214/0.1476, allocations: 58.09 kB / 303 MB, free: 18.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.1476, allocations: 57.48 kB / 303.1 MB, free: 18.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.374e-05/0.1477, allocations: 164.6 kB / 303.2 MB, free: 18.31 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.1477, allocations: 26.77 kB / 303.3 MB, free: 18.28 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.519e-05/0.1477, allocations: 90.64 kB / 303.3 MB, free: 18.2 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.1478, allocations: 15.27 kB / 303.4 MB, free: 18.2 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.1478, allocations: 20.73 kB / 303.4 MB, free: 18.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.469e-05/0.1478, allocations: 322.6 kB / 303.7 MB, free: 17.86 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.79e-05/0.1478, allocations: 10.59 kB / 303.7 MB, free: 17.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.331e-05/0.1479, allocations: 19.56 kB / 303.7 MB, free: 17.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.737e-05/0.1479, allocations: 43 kB / 303.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1479, allocations: 0.625 kB / 303.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.807e-05/0.148, allocations: 57.09 kB / 303.8 MB, free: 17.78 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.148, allocations: 6.453 kB / 303.8 MB, free: 17.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.148, allocations: 2.188 kB / 303.8 MB, free: 17.78 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.148, allocations: 1.094 kB / 303.8 MB, free: 17.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.065e-05/0.1481, allocations: 19.38 kB / 303.9 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.1481, allocations: 3.203 kB / 303.9 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.1481, allocations: 14.91 kB / 303.9 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.1481, allocations: 1.25 kB / 303.9 MB, free: 17.77 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 (7): * Single equations (assignments): 7 * 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.283e-05/0.1482, allocations: 117.3 kB / 304 MB, free: 17.65 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.1482, allocations: 6.453 kB / 304 MB, free: 17.65 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.1483, allocations: 69.34 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1483, allocations: 1.125 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.1483, allocations: 4.594 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1483, allocations: 1.062 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.078e-05/0.1484, allocations: 79.81 kB / 304.1 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1484, allocations: 0 / 304.1 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-05/0.1484, allocations: 5.422 kB / 304.2 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1484, allocations: 5.75 kB / 304.2 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.1484, allocations: 1.516 kB / 304.2 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.1484, allocations: 0.9844 kB / 304.2 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1484, allocations: 1.094 kB / 304.2 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.591e-05/0.1485, allocations: 86.69 kB / 304.2 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.145e-05/0.1485, allocations: 10.09 kB / 304.3 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.1486, allocations: 2.047 kB / 304.3 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.363e-05/0.1486, allocations: 3 kB / 304.3 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.1486, allocations: 11.91 kB / 304.3 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.1486, allocations: 2.688 kB / 304.3 MB, free: 17.45 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.018e-05/0.1487, allocations: 45.77 kB / 304.3 MB, free: 17.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1487, allocations: 0 / 304.3 MB, free: 17.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001427/0.1488, allocations: 22.33 kB / 304.3 MB, free: 17.42 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001262/0.1501, allocations: 0.5055 MB / 304.8 MB, free: 17.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001455/0.1502, allocations: 27.53 kB / 304.9 MB, free: 17.15 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/0.1503, allocations: 2.125 kB / 304.9 MB, free: 17.15 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.308e-05/0.1503, allocations: 20.23 kB / 304.9 MB, free: 17.14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.1505, allocations: 30.97 kB / 304.9 MB, free: 17.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.1509, allocations: 176.6 kB / 305.1 MB, free: 16.99 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.229e-05/0.151, allocations: 72.06 kB / 305.2 MB, free: 16.92 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.973e-05/0.151, allocations: 13.86 kB / 305.2 MB, free: 16.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/0.1511, allocations: 62.94 kB / 305.2 MB, free: 16.87 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1511, allocations: 1.031 kB / 305.2 MB, free: 16.87 MB / 282.7 MB Notification: Performance of Templates: time 0.004549/0.1556, allocations: 1.742 MB / 307 MB, free: 16.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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.0687981978990138]