Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.001019/0.001019, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001193/0.001193, allocations: 169 kB / 24.14 MB, free: 364 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.945/0.945, 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.1305/0.1305, allocations: 32.38 MB / 270.7 MB, free: 14.59 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 299.2 MB, free: 2.078 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18e-05/1.316e-05, allocations: 2.312 kB / 299.2 MB, free: 2.074 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002243/0.002256, allocations: 1.778 MB / 301 MB, free: 288 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1515/0.1537, allocations: 0.787 MB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.287e-05/0.1538, allocations: 1 kB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003873/0.1542, allocations: 88.14 kB / 301.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.1545, allocations: 75.59 kB / 301.9 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.1548, allocations: 87.19 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.1549, allocations: 109.3 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.666e-05/0.155, allocations: 10.34 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.1551, allocations: 66.56 kB / 302.2 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.1553, allocations: 48.14 kB / 302.2 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.1553, allocations: 4.375 kB / 302.2 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1554, allocations: 44.19 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-05/0.1554, allocations: 24.59 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.031e-05/0.1555, allocations: 19.83 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.1557, allocations: 108.2 kB / 302.4 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1557, allocations: 0 / 302.4 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1557, allocations: 0.5625 kB / 302.4 MB, free: 19.11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1557, allocations: 1.094 kB / 302.4 MB, free: 19.11 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.0003507/0.1561, allocations: 316.2 kB / 302.7 MB, free: 18.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.1561, allocations: 10.66 kB / 302.8 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.1561, allocations: 7.766 kB / 302.8 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.1563, allocations: 150.7 kB / 302.9 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.1563, allocations: 3.281 kB / 302.9 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.1563, allocations: 2.562 kB / 302.9 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.1564, allocations: 68.2 kB / 303 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1564, allocations: 6.438 kB / 303 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1565, allocations: 1.094 kB / 303 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1565, allocations: 0 / 303 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.649e-05/0.1565, allocations: 12.95 kB / 303 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002006/0.1567, allocations: 165.5 kB / 303.2 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.143e-05/0.1568, allocations: 87.16 kB / 303.2 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.123e-05/0.1568, allocations: 21.36 kB / 303.3 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.1568, allocations: 1.719 kB / 303.3 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.413e-05/0.1569, allocations: 67.97 kB / 303.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1569, allocations: 0 / 303.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003011/0.1572, allocations: 105.7 kB / 303.4 MB, free: 18.31 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.1572, allocations: 60.84 kB / 303.5 MB, free: 18.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1573, allocations: 182.6 kB / 303.7 MB, free: 18.13 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.1573, allocations: 27.47 kB / 303.7 MB, free: 18.1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.546e-05/0.1574, allocations: 93.83 kB / 303.8 MB, free: 18.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.1574, allocations: 28.48 kB / 303.8 MB, free: 18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.1574, allocations: 22.12 kB / 303.8 MB, free: 17.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.266e-05/0.1575, allocations: 325.8 kB / 304.2 MB, free: 17.67 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.1575, allocations: 10.03 kB / 304.2 MB, free: 17.67 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.562e-05/0.1575, allocations: 28.31 kB / 304.2 MB, free: 17.65 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.567e-05/0.1576, allocations: 45.42 kB / 304.2 MB, free: 17.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1576, allocations: 1.812 kB / 304.2 MB, free: 17.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001012/0.1577, allocations: 78.22 kB / 304.3 MB, free: 17.58 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1577, allocations: 6.438 kB / 304.3 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1577, allocations: 2.25 kB / 304.3 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1577, allocations: 0.6562 kB / 304.3 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.895e-05/0.1578, allocations: 16.3 kB / 304.3 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.1578, allocations: 1.406 kB / 304.3 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.575e-05/0.1578, allocations: 5.281 kB / 304.4 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.1578, allocations: 5.719 kB / 304.4 MB, free: 17.58 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.027e-05/0.1579, allocations: 121.7 kB / 304.5 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.1579, allocations: 12.53 kB / 304.5 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.158, allocations: 74.17 kB / 304.6 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.158, allocations: 1.062 kB / 304.6 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.158, allocations: 0.6562 kB / 304.6 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.158, allocations: 1.781 kB / 304.6 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.1582, allocations: 306.9 kB / 304.9 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1582, allocations: 0.6562 kB / 304.9 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.925e-05/0.1583, allocations: 14.83 kB / 304.9 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1583, allocations: 1.25 kB / 304.9 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1583, allocations: 6.062 kB / 304.9 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1583, allocations: 1.938 kB / 304.9 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1583, allocations: 0 / 304.9 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.503e-05/0.1584, allocations: 217.7 kB / 305.1 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.421e-05/0.1584, allocations: 15.88 kB / 305.1 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.1584, allocations: 6.969 kB / 305.1 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.248e-05/0.1584, allocations: 2.469 kB / 305.1 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.1585, allocations: 10.16 kB / 305.1 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.1585, allocations: 2.719 kB / 305.1 MB, free: 16.97 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.612e-05/0.1585, allocations: 60.59 kB / 305.2 MB, free: 16.95 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1585, allocations: 0 / 305.2 MB, free: 16.95 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001508/0.1587, allocations: 23.48 kB / 305.2 MB, free: 16.95 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.001259/0.1599, allocations: 0.5691 MB / 305.8 MB, free: 16.63 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.1601, allocations: 47.23 kB / 305.8 MB, free: 16.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.1601, allocations: 1.844 kB / 305.8 MB, free: 16.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.412e-05/0.1601, allocations: 26.42 kB / 305.9 MB, free: 16.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.1603, allocations: 34.92 kB / 305.9 MB, free: 16.6 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003094/0.1606, allocations: 227.7 kB / 306.1 MB, free: 16.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.539e-05/0.1606, allocations: 72.56 kB / 306.2 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.743e-05/0.1607, allocations: 12.02 kB / 306.2 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.1607, allocations: 69.25 kB / 306.3 MB, free: 16.31 MB / 282.7 MB Notification: Performance of SimCode: time 6.72e-07/0.1607, allocations: 0 / 306.3 MB, free: 16.31 MB / 282.7 MB Notification: Performance of Templates: time 0.004806/0.1655, allocations: 2.009 MB / 308.3 MB, free: 16.05 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.01170417573303]