Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001307, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001755/0.001755, allocations: 161 kB / 24.91 MB, free: 9.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9856/0.9856, allocations: 177 MB / 205.2 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2836/0.2836, allocations: 34.87 MB / 296.6 MB, free: 472 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.833e-05, allocations: 4.172 kB / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003524/0.003552, allocations: 2.311 MB / 328.3 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.005925, allocations: 1.4 MB / 329.7 MB, free: 3.352 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002735/0.006198, allocations: 7.938 kB / 329.7 MB, free: 3.344 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005451/0.006743, allocations: 282.8 kB / 330 MB, free: 3.066 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005904/0.007334, allocations: 354.4 kB / 330.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004594/0.007793, allocations: 215.5 kB / 330.5 MB, free: 2.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006639/0.008457, allocations: 0.5692 MB / 331.1 MB, free: 1.938 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.00862, allocations: 49.22 kB / 331.2 MB, free: 1.883 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003468/0.008967, allocations: 299.2 kB / 331.5 MB, free: 1.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.009193, allocations: 235.3 kB / 331.7 MB, free: 1.359 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.009224, allocations: 20 kB / 331.7 MB, free: 1.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.009331, allocations: 59.92 kB / 331.8 MB, free: 1.281 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.009435, allocations: 123.5 kB / 331.9 MB, free: 1.156 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.662e-05/0.009522, allocations: 103.6 kB / 332 MB, free: 1.055 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.009836, allocations: 326.5 kB / 332.3 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.009838, allocations: 0 / 332.3 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.009839, allocations: 0 / 332.3 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.009843, allocations: 0 / 332.3 MB, free: 0.7344 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007291/0.01057, allocations: 0.7106 MB / 333 MB, free: 0 / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.01061, allocations: 12.08 kB / 333 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.838e-05/0.01068, allocations: 40.78 kB / 333.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.01103, allocations: 329.8 kB / 333.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.01106, allocations: 8.875 kB / 333.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.01109, allocations: 16.33 kB / 333.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.01131, allocations: 198.3 kB / 333.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.01132, allocations: 192 / 333.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.01133, allocations: 8.375 kB / 333.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.01134, allocations: 3.938 kB / 333.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.573e-05/0.01141, allocations: 66.03 kB / 333.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.01191, allocations: 0.6111 MB / 334.3 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.01216, allocations: 430.4 kB / 334.7 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.299e-05/0.01223, allocations: 60.28 kB / 334.8 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.01224, allocations: 7.938 kB / 334.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.01243, allocations: 210.2 kB / 335 MB, free: 13.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.423e-06/0.01243, allocations: 0 / 335 MB, free: 13.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.0006481/0.01308, allocations: 452.8 kB / 335.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.01314, allocations: 166.2 kB / 335.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.01348, allocations: 0.4969 MB / 336.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.01351, allocations: 37.7 kB / 336.1 MB, free: 12.63 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.01357, allocations: 154.2 kB / 336.3 MB, free: 12.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.554e-05/0.01365, allocations: 131 kB / 336.4 MB, free: 12.35 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/0.01371, allocations: 70.16 kB / 336.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.01381, allocations: 382.6 kB / 336.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.328e-05/0.01387, allocations: 39.81 kB / 336.9 MB, free: 11.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.602e-05/0.01395, allocations: 117.5 kB / 337 MB, free: 11.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.01412, allocations: 214.8 kB / 337.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.01412, allocations: 0 / 337.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002342/0.01435, allocations: 243.7 kB / 337.4 MB, free: 11.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.01437, allocations: 4 kB / 337.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01437, allocations: 4.156 kB / 337.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.01439, allocations: 11.94 kB / 337.5 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.01454, allocations: 83.83 kB / 337.5 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.01455, allocations: 4 kB / 337.5 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.538e-05/0.01464, allocations: 23.86 kB / 337.6 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.01466, allocations: 12 kB / 337.6 MB, free: 11.07 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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 0.0001053/0.01476, allocations: 147.2 kB / 337.7 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.01481, allocations: 51.89 kB / 337.8 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.01508, allocations: 265.5 kB / 338 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.01509, allocations: 12 kB / 338 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.01509, allocations: 0 / 338 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.0151, allocations: 12.03 kB / 338.1 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006738/0.01577, allocations: 1.097 MB / 339.2 MB, free: 9.434 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.01577, allocations: 4 kB / 339.2 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.71e-05/0.01586, allocations: 51.86 kB / 339.2 MB, free: 9.379 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.01587, allocations: 4.156 kB / 339.2 MB, free: 9.375 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.01588, allocations: 19.98 kB / 339.2 MB, free: 9.355 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.01589, allocations: 4 kB / 339.2 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.01589, allocations: 3.938 kB / 339.2 MB, free: 9.348 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000389/0.01628, allocations: 0.847 MB / 340.1 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.01632, allocations: 55.56 kB / 340.1 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.01636, allocations: 15.98 kB / 340.2 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.01653, allocations: 19.98 kB / 340.2 MB, free: 8.371 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.01658, allocations: 31.89 kB / 340.2 MB, free: 8.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.0166, allocations: 27.98 kB / 340.2 MB, free: 8.312 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001738/0.01678, allocations: 251.2 kB / 340.5 MB, free: 8.066 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01678, allocations: 0 / 340.5 MB, free: 8.066 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003489/0.01712, allocations: 95.83 kB / 340.6 MB, free: 7.973 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001317/0.01844, allocations: 0.5813 MB / 341.2 MB, free: 7.668 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.01867, allocations: 185.6 kB / 341.3 MB, free: 7.484 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.01868, allocations: 7.938 kB / 341.3 MB, free: 7.477 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.931e-05/0.01878, allocations: 109.2 kB / 341.5 MB, free: 7.367 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.01935, allocations: 162.3 kB / 341.6 MB, free: 7.219 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.02047, allocations: 0.827 MB / 342.4 MB, free: 6.328 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.02057, allocations: 133.9 kB / 342.6 MB, free: 6.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001493/0.02072, allocations: 79.39 kB / 342.6 MB, free: 6.102 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.02091, allocations: 151.3 kB / 342.8 MB, free: 5.953 MB / 314.7 MB Notification: Performance of SimCode: time 1.172e-06/0.02091, allocations: 4 kB / 342.8 MB, free: 5.949 MB / 314.7 MB Notification: Performance of Templates: time 0.009361/0.03027, allocations: 6.79 MB / 349.6 MB, free: 15.29 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.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.156809384934604]