Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001024/0.001024, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001097/0.001097, allocations: 169.9 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.038/1.038, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2513/0.2513, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 323.3 MB, free: 9.582 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.696e-05, allocations: 6.25 kB / 323.4 MB, free: 9.574 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.00238/0.002397, allocations: 1.876 MB / 325.2 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.003826, allocations: 1.099 MB / 326.3 MB, free: 6.582 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.849e-05/0.003895, allocations: 8 kB / 326.3 MB, free: 6.574 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003976/0.004292, allocations: 291.1 kB / 326.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003266/0.004619, allocations: 259 kB / 326.9 MB, free: 6.035 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.004765, allocations: 103.6 kB / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.00499, allocations: 271.2 kB / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.005033, allocations: 7.094 kB / 327.2 MB, free: 5.664 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.005178, allocations: 155.6 kB / 327.4 MB, free: 5.512 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003344/0.005513, allocations: 172.1 kB / 327.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.005532, allocations: 8 kB / 327.6 MB, free: 5.336 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.874e-05/0.005611, allocations: 51.92 kB / 327.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.335e-05/0.005704, allocations: 132.5 kB / 327.8 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.094e-05/0.005775, allocations: 75.66 kB / 327.8 MB, free: 5.082 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.006022, allocations: 278.9 kB / 328.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.006023, allocations: 0 / 328.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006024, allocations: 0 / 328.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.006029, allocations: 0 / 328.1 MB, free: 4.809 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005089/0.006537, allocations: 0.6275 MB / 328.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.006572, allocations: 8.031 kB / 328.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.006615, allocations: 28.91 kB / 328.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.006866, allocations: 310 kB / 329.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.00688, allocations: 384 / 329.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.006889, allocations: 8.312 kB / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.007006, allocations: 87.45 kB / 329.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.007014, allocations: 3.938 kB / 329.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-06/0.007021, allocations: 0 / 329.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.007027, allocations: 4 kB / 329.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.096e-05/0.007057, allocations: 17.64 kB / 329.2 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001243/0.007182, allocations: 126.2 kB / 329.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.007285, allocations: 82.81 kB / 329.4 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.00731, allocations: 17.72 kB / 329.4 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.007321, allocations: 4 kB / 329.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/0.007425, allocations: 95.83 kB / 329.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 7.81e-07/0.007426, allocations: 0 / 329.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001568/0.007582, allocations: 111.2 kB / 329.6 MB, free: 3.152 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.007616, allocations: 85.05 kB / 329.7 MB, free: 3.051 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003677/0.007983, allocations: 0.5946 MB / 330.3 MB, free: 2.441 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.008002, allocations: 33.7 kB / 330.3 MB, free: 2.402 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/0.008061, allocations: 145.3 kB / 330.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.0081, allocations: 27.73 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.008137, allocations: 37.69 kB / 330.5 MB, free: 2.184 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.36e-05/0.008231, allocations: 366.7 kB / 330.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.232e-05/0.008253, allocations: 10.83 kB / 330.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.215e-05/0.008285, allocations: 47.3 kB / 330.9 MB, free: 1.746 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005212/0.008806, allocations: 68.38 kB / 331 MB, free: 1.664 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.008809, allocations: 0 / 331 MB, free: 1.664 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000102/0.008911, allocations: 115.2 kB / 331.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.008921, allocations: 4 kB / 331.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.008925, allocations: 0 / 331.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.008937, allocations: 11.97 kB / 331.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.009004, allocations: 19.94 kB / 331.2 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.009009, allocations: 7.938 kB / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.009054, allocations: 7.984 kB / 331.2 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.009061, allocations: 8.062 kB / 331.2 MB, free: 1.484 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.69e-05/0.009138, allocations: 117.3 kB / 331.3 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.009163, allocations: 35.95 kB / 331.3 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.00929, allocations: 113.9 kB / 331.4 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.009292, allocations: 0 / 331.4 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.009295, allocations: 3.938 kB / 331.4 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.0093, allocations: 7.984 kB / 331.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.009431, allocations: 165.6 kB / 331.6 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.009431, allocations: 0 / 331.6 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-05/0.009456, allocations: 12 kB / 331.6 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.009457, allocations: 4 kB / 331.6 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.009465, allocations: 7.984 kB / 331.6 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.009466, allocations: 0 / 331.6 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.009467, allocations: 0 / 331.6 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.009574, allocations: 150.5 kB / 331.8 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.009615, allocations: 47.66 kB / 331.8 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.009641, allocations: 4 kB / 331.8 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.729e-05/0.009678, allocations: 7.984 kB / 331.8 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.009711, allocations: 11.98 kB / 331.9 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.009723, allocations: 7.938 kB / 331.9 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001995/0.009923, allocations: 319.2 kB / 332.2 MB, free: 436 kB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009923, allocations: 0 / 332.2 MB, free: 436 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001395/0.01006, allocations: 40 kB / 332.2 MB, free: 396 kB / 298.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001103/0.01117, allocations: 0.5066 MB / 332.7 MB, free: 144 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.01127, allocations: 56.77 kB / 332.8 MB, free: 84 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.01128, allocations: 8 kB / 332.8 MB, free: 76 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.649e-05/0.01131, allocations: 24.84 kB / 332.8 MB, free: 48 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.01153, allocations: 77.95 kB / 332.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006239/0.01216, allocations: 0.6427 MB / 333.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.167e-05/0.01223, allocations: 128.2 kB / 333.7 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.754e-05/0.01229, allocations: 38.95 kB / 333.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.966e-05/0.01239, allocations: 95.34 kB / 333.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01239, allocations: 0 / 333.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of Templates: time 0.006264/0.01865, allocations: 4.266 MB / 338.1 MB, free: 10.82 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.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.9062216533347964]