Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.0009423/0.0009423, allocations: 88.86 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.0009663/0.0009663, allocations: 160.9 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.042/1.042, allocations: 177 MB / 205.2 MB, free: 5.02 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.3006/0.3006, allocations: 34.86 MB / 296.6 MB, free: 460 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 326 MB, free: 7.023 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.19e-05, allocations: 5.125 kB / 326 MB, free: 7.02 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003395/0.003417, allocations: 1.814 MB / 327.9 MB, free: 5.191 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.005158, allocations: 1.006 MB / 328.9 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.279e-05/0.005251, allocations: 0 / 328.9 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004156/0.005666, allocations: 79.7 kB / 328.9 MB, free: 4.102 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004553/0.006121, allocations: 119.4 kB / 329.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.006418, allocations: 83.59 kB / 329.1 MB, free: 3.902 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.006643, allocations: 116.4 kB / 329.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.911e-05/0.006742, allocations: 15.95 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.006884, allocations: 59.83 kB / 329.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.007007, allocations: 51.88 kB / 329.4 MB, free: 3.664 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.007026, allocations: 4 kB / 329.4 MB, free: 3.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.00714, allocations: 47.86 kB / 329.4 MB, free: 3.613 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.007198, allocations: 35.84 kB / 329.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.007243, allocations: 19.92 kB / 329.5 MB, free: 3.559 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.007457, allocations: 107.6 kB / 329.6 MB, free: 3.453 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.007461, allocations: 0 / 329.6 MB, free: 3.453 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.007462, allocations: 0 / 329.6 MB, free: 3.453 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.007466, allocations: 0 / 329.6 MB, free: 3.453 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.0004727/0.007939, allocations: 325.5 kB / 329.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.007975, allocations: 8.031 kB / 329.9 MB, free: 3.105 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.008012, allocations: 8.922 kB / 329.9 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.008208, allocations: 153.5 kB / 330.1 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.008226, allocations: 8.375 kB / 330.1 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.008244, allocations: 384 / 330.1 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.00837, allocations: 65.77 kB / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.008381, allocations: 192 / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.008389, allocations: 384 / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.008397, allocations: 3.938 kB / 330.2 MB, free: 2.836 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.367e-05/0.00843, allocations: 11.98 kB / 330.2 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.008708, allocations: 169.9 kB / 330.3 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.008822, allocations: 81.3 kB / 330.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.647e-05/0.008849, allocations: 16.86 kB / 330.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.00886, allocations: 0 / 330.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.008981, allocations: 66.2 kB / 330.5 MB, free: 2.453 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.008982, allocations: 0 / 330.5 MB, free: 2.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003778/0.00936, allocations: 125.3 kB / 330.6 MB, free: 2.324 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.00939, allocations: 51.41 kB / 330.7 MB, free: 2.262 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.009542, allocations: 185.1 kB / 330.8 MB, free: 2.062 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.009563, allocations: 33.7 kB / 330.9 MB, free: 2.023 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.009603, allocations: 92.11 kB / 331 MB, free: 1.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.009635, allocations: 23.78 kB / 331 MB, free: 1.906 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.009682, allocations: 33.64 kB / 331 MB, free: 1.867 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.787e-05/0.00978, allocations: 330.8 kB / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.009803, allocations: 6.828 kB / 331.4 MB, free: 1.527 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.532e-05/0.009839, allocations: 33.69 kB / 331.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.774e-05/0.009896, allocations: 32.53 kB / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.009898, allocations: 0 / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001119/0.01001, allocations: 76.8 kB / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.01003, allocations: 7.938 kB / 331.5 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01003, allocations: 0 / 331.5 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.01004, allocations: 4.031 kB / 331.5 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.474e-05/0.01013, allocations: 23.98 kB / 331.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.01013, allocations: 3.938 kB / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.01017, allocations: 4 kB / 331.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.01018, allocations: 4 kB / 331.5 MB, free: 1.32 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 7.801e-05/0.01026, allocations: 120.6 kB / 331.7 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.01028, allocations: 11.94 kB / 331.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.01041, allocations: 79.06 kB / 331.7 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01042, allocations: 0 / 331.7 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01042, allocations: 0 / 331.7 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01042, allocations: 4 kB / 331.7 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.01071, allocations: 299.6 kB / 332 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.01071, allocations: 7.922 kB / 332 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.01075, allocations: 8 kB / 332.1 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.01076, allocations: 4 kB / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.01077, allocations: 0 / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.01077, allocations: 0 / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01077, allocations: 0 / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.01091, allocations: 219 kB / 332.3 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.01093, allocations: 11.92 kB / 332.3 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.01094, allocations: 4 kB / 332.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.861e-05/0.01101, allocations: 11.94 kB / 332.3 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.01104, allocations: 7.984 kB / 332.3 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.01106, allocations: 0 / 332.3 MB, free: 488 kB / 298.7 MB Notification: Performance of sorting global known variables: time 7.472e-05/0.01113, allocations: 61.55 kB / 332.4 MB, free: 424 kB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01113, allocations: 0 / 332.4 MB, free: 424 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002312/0.01136, allocations: 31.92 kB / 332.4 MB, free: 392 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: 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.001602/0.01297, allocations: 0.5613 MB / 333 MB, free: 104 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.01307, allocations: 36.84 kB / 333 MB, free: 64 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.01308, allocations: 0 / 333 MB, free: 64 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.096e-05/0.01312, allocations: 28.78 kB / 333 MB, free: 32 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.01338, allocations: 39.88 kB / 333.1 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.01377, allocations: 242.6 kB / 333.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.177e-05/0.01382, allocations: 67.34 kB / 333.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.826e-05/0.01387, allocations: 21.2 kB / 333.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.305e-05/0.01395, allocations: 71.36 kB / 333.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01395, allocations: 0 / 333.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of Templates: time 0.004674/0.01863, allocations: 2.007 MB / 335.5 MB, free: 13.57 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.0837810011580586]