Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.001102/0.001102, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001123/0.001123, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 1.107/1.107, allocations: 177 MB / 205.2 MB, free: 5.047 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.3097/0.3097, allocations: 34.85 MB / 296.6 MB, free: 408 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 326 MB, free: 7.016 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.224e-05, allocations: 8.281 kB / 326 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002427/0.00245, allocations: 1.89 MB / 327.9 MB, free: 5.109 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.003891, allocations: 1.08 MB / 329 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.085e-05/0.003982, allocations: 0 / 329 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004636/0.004445, allocations: 303 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003522/0.004798, allocations: 263 kB / 329.6 MB, free: 3.469 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.004955, allocations: 103.6 kB / 329.7 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.005218, allocations: 268 kB / 329.9 MB, free: 3.105 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5e-05/0.005268, allocations: 14.44 kB / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.00542, allocations: 151.5 kB / 330.1 MB, free: 2.945 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.005593, allocations: 176.1 kB / 330.3 MB, free: 2.773 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.005613, allocations: 8 kB / 330.3 MB, free: 2.766 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.266e-05/0.005696, allocations: 47.91 kB / 330.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.005799, allocations: 132.5 kB / 330.4 MB, free: 2.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.091e-05/0.00587, allocations: 75.64 kB / 330.5 MB, free: 2.516 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.006143, allocations: 274.9 kB / 330.8 MB, free: 2.246 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.006145, allocations: 4 kB / 330.8 MB, free: 2.242 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.006146, allocations: 0 / 330.8 MB, free: 2.242 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.00615, allocations: 0 / 330.8 MB, free: 2.242 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.000604/0.006754, allocations: 0.6394 MB / 331.4 MB, free: 1.578 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.006793, allocations: 8.031 kB / 331.4 MB, free: 1.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.006843, allocations: 28.91 kB / 331.5 MB, free: 1.543 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.007148, allocations: 293.9 kB / 331.8 MB, free: 1.227 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.007173, allocations: 8.375 kB / 331.8 MB, free: 1.219 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.007185, allocations: 4.375 kB / 331.8 MB, free: 1.215 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.007333, allocations: 95.44 kB / 331.9 MB, free: 1.105 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.007343, allocations: 192 / 331.9 MB, free: 1.105 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.007352, allocations: 384 / 331.9 MB, free: 1.105 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.00736, allocations: 3.938 kB / 331.9 MB, free: 1.102 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.732e-05/0.007397, allocations: 25.58 kB / 331.9 MB, free: 1.074 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.007538, allocations: 118.4 kB / 332 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.007654, allocations: 74.77 kB / 332.1 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.007684, allocations: 29.7 kB / 332.1 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.007696, allocations: 0 / 332.1 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.007815, allocations: 99.83 kB / 332.2 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.007817, allocations: 0 / 332.2 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.000172/0.007989, allocations: 111.2 kB / 332.3 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.008029, allocations: 81.11 kB / 332.4 MB, free: 484 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004238/0.008452, allocations: 0.5945 MB / 333 MB, free: 15.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.008468, allocations: 25.7 kB / 333 MB, free: 15.83 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.017e-05/0.008528, allocations: 145.3 kB / 333.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.008567, allocations: 39.72 kB / 333.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.008604, allocations: 33.7 kB / 333.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.008715, allocations: 366.7 kB / 333.6 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.008739, allocations: 14.77 kB / 333.6 MB, free: 15.22 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.33e-05/0.008772, allocations: 39.41 kB / 333.6 MB, free: 15.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.433e-05/0.008836, allocations: 64.33 kB / 333.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.00884, allocations: 4 kB / 333.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001175/0.008957, allocations: 111.2 kB / 333.8 MB, free: 14.97 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.008969, allocations: 4 kB / 333.8 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.008975, allocations: 0 / 333.8 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.00899, allocations: 7.938 kB / 333.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-05/0.009072, allocations: 27.92 kB / 333.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.009075, allocations: 0 / 333.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.08e-05/0.009126, allocations: 15.92 kB / 333.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.009133, allocations: 0 / 333.9 MB, free: 14.92 MB / 314.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 9.241e-05/0.009225, allocations: 130.1 kB / 334 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.009255, allocations: 31.95 kB / 334 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.009397, allocations: 121.9 kB / 334.1 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.0094, allocations: 0 / 334.1 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.009401, allocations: 0 / 334.1 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.009408, allocations: 7.922 kB / 334.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.009546, allocations: 165.6 kB / 334.3 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.00955, allocations: 4 kB / 334.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-05/0.009579, allocations: 8 kB / 334.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.009581, allocations: 0 / 334.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.00959, allocations: 15.92 kB / 334.3 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.009593, allocations: 256 / 334.3 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.009594, allocations: 4 kB / 334.3 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.009706, allocations: 130.4 kB / 334.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.009752, allocations: 51.66 kB / 334.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.009778, allocations: 8 kB / 334.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.101e-05/0.009819, allocations: 7.984 kB / 334.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.00985, allocations: 11.98 kB / 334.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.009869, allocations: 7.938 kB / 334.6 MB, free: 14.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002216/0.01009, allocations: 315.2 kB / 334.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.01009, allocations: 0 / 334.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001478/0.01024, allocations: 44 kB / 334.9 MB, free: 13.82 MB / 314.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.001163/0.0114, allocations: 0.5031 MB / 335.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.01151, allocations: 60.75 kB / 335.5 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.01151, allocations: 4 kB / 335.5 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.93e-05/0.01155, allocations: 32.78 kB / 335.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.01176, allocations: 68.59 kB / 335.6 MB, free: 13.4 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006711/0.01243, allocations: 0.6346 MB / 336.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.278e-05/0.01252, allocations: 128.2 kB / 336.3 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.079e-05/0.01258, allocations: 42.95 kB / 336.4 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.01269, allocations: 99.34 kB / 336.5 MB, free: 12.44 MB / 314.7 MB Notification: Performance of SimCode: time 1.412e-06/0.01269, allocations: 0 / 336.5 MB, free: 12.44 MB / 314.7 MB Notification: Performance of Templates: time 0.006315/0.019, allocations: 4.261 MB / 340.7 MB, free: 8.254 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.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.213387398980558]