Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.001489/0.001489, allocations: 80.05 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.001052/0.001052, allocations: 169 kB / 24.14 MB, free: 368 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.9085/0.9085, allocations: 158.6 MB / 186 MB, free: 2.766 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.1245/0.1245, allocations: 32.38 MB / 270.7 MB, free: 14.61 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.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 299.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.426e-05/1.554e-05, allocations: 2.312 kB / 299.2 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002641/0.002657, allocations: 1.771 MB / 301 MB, free: 304 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1232/0.1259, allocations: 1.521 MB / 302.5 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.946e-05/0.126, allocations: 7.781 kB / 302.5 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.1262, allocations: 38.91 kB / 302.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.1264, allocations: 64.69 kB / 302.6 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.1266, allocations: 85.56 kB / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.1267, allocations: 94.52 kB / 302.8 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.862e-05/0.1268, allocations: 17.22 kB / 302.8 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.92e-05/0.1269, allocations: 55.09 kB / 302.8 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.374e-05/0.127, allocations: 31.22 kB / 302.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.127, allocations: 4.625 kB / 302.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1271, allocations: 60.14 kB / 302.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.604e-05/0.1272, allocations: 20.19 kB / 303 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.1272, allocations: 18.38 kB / 303 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.1274, allocations: 116.9 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1274, allocations: 0 / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1274, allocations: 0.5312 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1274, allocations: 1.25 kB / 303.1 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.0002954/0.1277, allocations: 303.2 kB / 303.4 MB, free: 18.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.1277, allocations: 9.156 kB / 303.4 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.1277, allocations: 8.016 kB / 303.4 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.1278, allocations: 142.5 kB / 303.5 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1279, allocations: 2 kB / 303.5 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.1279, allocations: 7.734 kB / 303.5 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.128, allocations: 104 kB / 303.6 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.128, allocations: 5.953 kB / 303.7 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.128, allocations: 5.531 kB / 303.7 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.128, allocations: 1.188 kB / 303.7 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.435e-05/0.128, allocations: 11.42 kB / 303.7 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.1282, allocations: 164.8 kB / 303.8 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.172e-05/0.1283, allocations: 91.03 kB / 303.9 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/0.1283, allocations: 15.95 kB / 303.9 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.1283, allocations: 1.812 kB / 303.9 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.526e-05/0.1284, allocations: 64.73 kB / 304 MB, free: 18.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1284, allocations: 0.6562 kB / 304 MB, free: 18.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002623/0.1286, allocations: 114 kB / 304.1 MB, free: 18.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.834e-05/0.1287, allocations: 78.23 kB / 304.2 MB, free: 18.12 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.635e-05/0.1287, allocations: 156.1 kB / 304.3 MB, free: 18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.1287, allocations: 29.27 kB / 304.4 MB, free: 17.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.874e-05/0.1288, allocations: 90.58 kB / 304.5 MB, free: 17.88 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.1288, allocations: 25.44 kB / 304.5 MB, free: 17.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.1288, allocations: 29.95 kB / 304.5 MB, free: 17.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.341e-05/0.1289, allocations: 321.4 kB / 304.8 MB, free: 17.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.498e-05/0.1289, allocations: 11.17 kB / 304.8 MB, free: 17.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.006e-05/0.1289, allocations: 61.44 kB / 304.9 MB, free: 17.46 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.45e-05/0.1289, allocations: 45.3 kB / 304.9 MB, free: 17.44 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1289, allocations: 0 / 304.9 MB, free: 17.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.652e-05/0.129, allocations: 73.95 kB / 305 MB, free: 17.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.129, allocations: 10.41 kB / 305 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.129, allocations: 0 / 305 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.129, allocations: 1.188 kB / 305 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.921e-05/0.1291, allocations: 16.58 kB / 305 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.1291, allocations: 0 / 305 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.034e-05/0.1291, allocations: 5.562 kB / 305 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1291, allocations: 6.859 kB / 305.1 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.566e-05/0.1292, allocations: 125.2 kB / 305.2 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.1292, allocations: 11.59 kB / 305.2 MB, free: 17.26 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.1293, allocations: 71.67 kB / 305.3 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1293, allocations: 4.625 kB / 305.3 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.1293, allocations: 1.703 kB / 305.3 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1293, allocations: 0.5156 kB / 305.3 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.1295, allocations: 294.7 kB / 305.6 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1295, allocations: 1.797 kB / 305.6 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.583e-05/0.1295, allocations: 14.5 kB / 305.6 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1295, allocations: 1.125 kB / 305.6 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1295, allocations: 5.859 kB / 305.6 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1295, allocations: 0.75 kB / 305.6 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1295, allocations: 1.062 kB / 305.6 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.959e-05/0.1296, allocations: 218 kB / 305.8 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.1296, allocations: 8.203 kB / 305.8 MB, free: 16.78 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.1297, allocations: 1.75 kB / 305.8 MB, free: 16.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.889e-05/0.1297, allocations: 4.141 kB / 305.8 MB, free: 16.78 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.1297, allocations: 16.95 kB / 305.8 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1297, allocations: 3.578 kB / 305.8 MB, free: 16.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.007e-05/0.1298, allocations: 31.77 kB / 305.9 MB, free: 16.76 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1298, allocations: 0 / 305.9 MB, free: 16.76 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001598/0.1299, allocations: 32.12 kB / 305.9 MB, free: 16.76 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.001163/0.1311, allocations: 0.6382 MB / 306.5 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.128e-05/0.1312, allocations: 42.83 kB / 306.6 MB, free: 16.37 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1312, allocations: 1.125 kB / 306.6 MB, free: 16.37 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.165e-05/0.1312, allocations: 30.12 kB / 306.6 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.0001676/0.1314, allocations: 37.16 kB / 306.6 MB, free: 16.35 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002584/0.1317, allocations: 192.3 kB / 306.8 MB, free: 16.19 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.27e-05/0.1317, allocations: 63.77 kB / 306.9 MB, free: 16.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.322e-05/0.1317, allocations: 13.77 kB / 306.9 MB, free: 16.12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.1318, allocations: 72.44 kB / 307 MB, free: 16.07 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1318, allocations: 0 / 307 MB, free: 16.07 MB / 282.7 MB Notification: Performance of Templates: time 0.004061/0.1359, allocations: 2.308 MB / 309.3 MB, free: 15.74 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.921714107040316]