Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.001365/0.001365, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001428/0.001428, allocations: 169.9 kB / 24.91 MB, free: 8.723 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 0.9655/0.9655, allocations: 177.1 MB / 205.3 MB, free: 5.09 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.3026/0.3026, allocations: 32.8 MB / 294.6 MB, free: 1.203 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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 3.938 kB / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.949e-05, allocations: 2.969 kB / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002579/0.002599, allocations: 2.048 MB / 325.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.004011, allocations: 1.091 MB / 326.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.004124, allocations: 3.938 kB / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.004415, allocations: 47.58 kB / 326.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.004743, allocations: 123.3 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.005056, allocations: 111.5 kB / 326.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.005317, allocations: 215.3 kB / 326.9 MB, free: 6.004 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/0.005413, allocations: 22.39 kB / 326.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.005563, allocations: 111.7 kB / 327.1 MB, free: 5.871 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.622e-05/0.005659, allocations: 63.8 kB / 327.1 MB, free: 5.809 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.005681, allocations: 12 kB / 327.1 MB, free: 5.797 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.179e-05/0.005773, allocations: 47.98 kB / 327.2 MB, free: 5.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.916e-05/0.005832, allocations: 43.83 kB / 327.2 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.218e-05/0.005885, allocations: 47.83 kB / 327.3 MB, free: 5.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.006113, allocations: 171.3 kB / 327.4 MB, free: 5.492 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.006116, allocations: 4 kB / 327.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006117, allocations: 0 / 327.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.006121, allocations: 0 / 327.4 MB, free: 5.488 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006352/0.006756, allocations: 465.1 kB / 327.9 MB, free: 5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.006797, allocations: 15.97 kB / 327.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.006848, allocations: 16.92 kB / 327.9 MB, free: 4.969 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.007052, allocations: 185.3 kB / 328.1 MB, free: 4.762 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.007067, allocations: 4.375 kB / 328.1 MB, free: 4.758 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.007092, allocations: 12.38 kB / 328.1 MB, free: 4.746 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.007293, allocations: 158.9 kB / 328.3 MB, free: 4.566 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.007301, allocations: 3.938 kB / 328.3 MB, free: 4.562 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.007312, allocations: 3.938 kB / 328.3 MB, free: 4.559 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.007317, allocations: 0 / 328.3 MB, free: 4.559 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.77e-05/0.007365, allocations: 26.81 kB / 328.3 MB, free: 4.531 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.007708, allocations: 394 kB / 328.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.007899, allocations: 113.3 kB / 328.8 MB, free: 4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.00793, allocations: 20.84 kB / 328.8 MB, free: 3.977 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.007944, allocations: 4 kB / 328.8 MB, free: 3.973 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.008075, allocations: 120.6 kB / 328.9 MB, free: 3.836 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.008076, allocations: 0 / 328.9 MB, free: 3.836 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001664/0.008243, allocations: 94.91 kB / 329 MB, free: 3.738 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.008273, allocations: 59.39 kB / 329.1 MB, free: 3.668 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.008403, allocations: 217 kB / 329.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.008421, allocations: 33.7 kB / 329.3 MB, free: 3.398 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.008471, allocations: 108.8 kB / 329.4 MB, free: 3.285 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.008495, allocations: 35.86 kB / 329.5 MB, free: 3.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.008541, allocations: 37.69 kB / 329.5 MB, free: 3.207 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.126e-05/0.008622, allocations: 334.7 kB / 329.8 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.406e-05/0.008666, allocations: 44.53 kB / 329.9 MB, free: 2.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.389e-05/0.00872, allocations: 85.95 kB / 330 MB, free: 2.715 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.042e-05/0.00881, allocations: 114 kB / 330.1 MB, free: 2.582 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.008812, allocations: 0 / 330.1 MB, free: 2.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001405/0.008953, allocations: 159.8 kB / 330.2 MB, free: 2.406 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.008986, allocations: 36.05 kB / 330.3 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.008991, allocations: 0 / 330.3 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.009006, allocations: 7.984 kB / 330.3 MB, free: 2.359 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.759e-05/0.009094, allocations: 36.11 kB / 330.3 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.009097, allocations: 7.922 kB / 330.3 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.612e-05/0.009174, allocations: 23.88 kB / 330.3 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.009184, allocations: 8 kB / 330.4 MB, free: 2.285 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 8.141e-05/0.009265, allocations: 129.1 kB / 330.5 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.009283, allocations: 11.98 kB / 330.5 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.009411, allocations: 99.05 kB / 330.6 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.009413, allocations: 4 kB / 330.6 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.009414, allocations: 0 / 330.6 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.009418, allocations: 7.938 kB / 330.6 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.678e-05/0.009514, allocations: 109.7 kB / 330.7 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.009516, allocations: 3.938 kB / 330.7 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.103e-05/0.009577, allocations: 19.98 kB / 330.7 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.009581, allocations: 3.984 kB / 330.7 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.009591, allocations: 4 kB / 330.7 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.009592, allocations: 4 kB / 330.7 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.009593, allocations: 0 / 330.7 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.009742, allocations: 135.5 kB / 330.9 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.009761, allocations: 15.84 kB / 330.9 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.009781, allocations: 12.03 kB / 330.9 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.987e-05/0.009831, allocations: 11.98 kB / 330.9 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.009872, allocations: 15.97 kB / 330.9 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.009885, allocations: 11.98 kB / 330.9 MB, free: 1.641 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.302e-05/0.009938, allocations: 70.25 kB / 331 MB, free: 1.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.009939, allocations: 0 / 331 MB, free: 1.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001543/0.01009, allocations: 43.88 kB / 331.1 MB, free: 1.527 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001067/0.01116, allocations: 0.5079 MB / 331.6 MB, free: 1.285 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.01133, allocations: 153.8 kB / 331.7 MB, free: 1.113 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.01133, allocations: 0 / 331.7 MB, free: 1.113 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.909e-05/0.01138, allocations: 32.84 kB / 331.7 MB, free: 1.078 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.01154, allocations: 67.44 kB / 331.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.01194, allocations: 299.4 kB / 332.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.517e-05/0.01197, allocations: 79.97 kB / 332.2 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.082e-05/0.01203, allocations: 29.39 kB / 332.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.01213, allocations: 91.3 kB / 332.3 MB, free: 496 kB / 298.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01213, allocations: 0 / 332.3 MB, free: 496 kB / 298.7 MB Notification: Performance of Templates: time 0.004725/0.01686, allocations: 3.189 MB / 335.5 MB, free: 13.34 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.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.9845667998306453]