Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.001075/0.001075, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001336/0.001336, allocations: 161.1 kB / 24.91 MB, free: 8.719 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.039/1.039, allocations: 177 MB / 205.2 MB, free: 5.039 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.2575/0.2575, allocations: 34.85 MB / 296.6 MB, free: 468 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 326 MB, free: 7.023 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.307e-05, allocations: 4.281 kB / 326 MB, free: 7.02 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002175/0.002198, allocations: 1.813 MB / 327.9 MB, free: 5.195 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.00368, allocations: 1.009 MB / 328.9 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.941e-05/0.00375, allocations: 0 / 328.9 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.004028, allocations: 31.73 kB / 328.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.004254, allocations: 95.47 kB / 329 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.004397, allocations: 79.66 kB / 329.1 MB, free: 3.977 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.004549, allocations: 108.4 kB / 329.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.891e-05/0.004627, allocations: 15.97 kB / 329.2 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.31e-05/0.004711, allocations: 51.84 kB / 329.2 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.514e-05/0.004786, allocations: 31.89 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.004802, allocations: 4 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.63e-05/0.004878, allocations: 47.86 kB / 329.3 MB, free: 3.723 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/0.004921, allocations: 19.88 kB / 329.3 MB, free: 3.703 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.004954, allocations: 23.91 kB / 329.4 MB, free: 3.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.005098, allocations: 91.66 kB / 329.5 MB, free: 3.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-06/0.005099, allocations: 0 / 329.5 MB, free: 3.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.0051, allocations: 0 / 329.5 MB, free: 3.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.906e-06/0.005103, allocations: 0 / 329.5 MB, free: 3.59 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003325/0.005436, allocations: 313.7 kB / 329.8 MB, free: 3.262 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.005467, allocations: 8.031 kB / 329.8 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.005497, allocations: 8.938 kB / 329.8 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.005643, allocations: 153.5 kB / 329.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.005657, allocations: 384 / 329.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.005673, allocations: 4.375 kB / 329.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.005774, allocations: 61.77 kB / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.005783, allocations: 192 / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.005791, allocations: 8.312 kB / 330 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.005796, allocations: 3.938 kB / 330 MB, free: 2.984 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.288e-05/0.005819, allocations: 11.98 kB / 330 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.006014, allocations: 165.9 kB / 330.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.328e-05/0.006097, allocations: 85.36 kB / 330.3 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.959e-05/0.006117, allocations: 12.84 kB / 330.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.006127, allocations: 0 / 330.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.193e-05/0.006209, allocations: 66.2 kB / 330.3 MB, free: 2.605 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.00621, allocations: 0 / 330.3 MB, free: 2.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002776/0.006488, allocations: 113.5 kB / 330.5 MB, free: 2.488 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.006515, allocations: 59.41 kB / 330.5 MB, free: 2.418 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.877e-05/0.006604, allocations: 163.1 kB / 330.7 MB, free: 2.246 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.006617, allocations: 29.7 kB / 330.7 MB, free: 2.211 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.652e-05/0.006644, allocations: 88.12 kB / 330.8 MB, free: 2.121 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.006668, allocations: 31.7 kB / 330.8 MB, free: 2.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.006701, allocations: 21.72 kB / 330.8 MB, free: 2.062 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.479e-05/0.006776, allocations: 326.8 kB / 331.2 MB, free: 1.734 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.006794, allocations: 10.81 kB / 331.2 MB, free: 1.723 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.267e-05/0.006816, allocations: 21.72 kB / 331.2 MB, free: 1.695 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.196e-05/0.006858, allocations: 44.88 kB / 331.2 MB, free: 1.645 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.006859, allocations: 4 kB / 331.2 MB, free: 1.641 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.032e-05/0.00693, allocations: 72.42 kB / 331.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.006943, allocations: 11.94 kB / 331.3 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.006948, allocations: 4 kB / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.00696, allocations: 0 / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.688e-05/0.007017, allocations: 15.94 kB / 331.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.007019, allocations: 0 / 331.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/0.007044, allocations: 11.98 kB / 331.3 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.007051, allocations: 4 kB / 331.4 MB, free: 1.516 MB / 298.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 6.866e-05/0.007119, allocations: 116.7 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.007133, allocations: 19.92 kB / 331.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.946e-05/0.007222, allocations: 70.39 kB / 331.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007224, allocations: 0 / 331.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.007226, allocations: 0 / 331.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.00723, allocations: 0 / 331.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.007455, allocations: 299.6 kB / 331.8 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-06/0.007459, allocations: 7.875 kB / 331.9 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.872e-05/0.007488, allocations: 11.98 kB / 331.9 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.007491, allocations: 0 / 331.9 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.007498, allocations: 8.031 kB / 331.9 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.0075, allocations: 0 / 331.9 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007501, allocations: 0 / 331.9 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.007609, allocations: 211.1 kB / 332.1 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.007622, allocations: 15.88 kB / 332.1 MB, free: 0.707 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.007639, allocations: 4 kB / 332.1 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.674e-05/0.007675, allocations: 0 / 332.1 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.007702, allocations: 11.98 kB / 332.1 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.007714, allocations: 4 kB / 332.1 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.594e-05/0.00775, allocations: 40.52 kB / 332.2 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00775, allocations: 0 / 332.2 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001393/0.007889, allocations: 27.94 kB / 332.2 MB, free: 0.6172 MB / 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: 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.001257/0.009147, allocations: 0.5712 MB / 332.8 MB, free: 336 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.128e-05/0.009228, allocations: 36.84 kB / 332.8 MB, free: 296 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.009232, allocations: 4 kB / 332.8 MB, free: 292 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.789e-05/0.00926, allocations: 24.78 kB / 332.8 MB, free: 264 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.009429, allocations: 36.41 kB / 332.9 MB, free: 228 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.009706, allocations: 200.5 kB / 333 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.559e-05/0.009741, allocations: 71.22 kB / 333.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.574e-05/0.009777, allocations: 17.41 kB / 333.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.964e-05/0.009837, allocations: 67.36 kB / 333.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of SimCode: time 4.11e-07/0.009837, allocations: 0 / 333.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of Templates: time 0.003275/0.01311, allocations: 2.016 MB / 335.2 MB, free: 13.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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.9758965368382633]