Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.0009505/0.0009505, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.0009893/0.0009893, allocations: 170 kB / 24.82 MB, free: 9.254 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.9205/0.9205, allocations: 177 MB / 205.1 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.2636/0.2636, allocations: 34.87 MB / 296.6 MB, free: 448 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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 379.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.906e-05, allocations: 3.016 kB / 379.3 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003545/0.003564, allocations: 2.231 MB / 381.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.005681, allocations: 1.292 MB / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.005831, allocations: 7.938 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004016/0.006232, allocations: 123.3 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005035/0.006736, allocations: 262.7 kB / 383.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.007087, allocations: 191.4 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004726/0.00756, allocations: 474.5 kB / 383.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.007685, allocations: 37.27 kB / 383.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004033/0.008089, allocations: 347.2 kB / 384.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.008259, allocations: 131.6 kB / 384.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.008297, allocations: 20 kB / 384.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.008437, allocations: 79.84 kB / 384.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.00857, allocations: 147.4 kB / 384.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.008671, allocations: 91.58 kB / 384.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.009061, allocations: 342.5 kB / 385.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.009064, allocations: 3.984 kB / 385.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.009065, allocations: 0 / 385.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.009069, allocations: 0 / 385.1 MB, free: 11.93 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008885/0.009958, allocations: 0.8759 MB / 385.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.009996, allocations: 8.031 kB / 386 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.0101, allocations: 84.5 kB / 386 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.01048, allocations: 349.2 kB / 386.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.01051, allocations: 16.36 kB / 386.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.01054, allocations: 16.31 kB / 386.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.0108, allocations: 185.5 kB / 386.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.01082, allocations: 4.141 kB / 386.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.01083, allocations: 8.375 kB / 386.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.01084, allocations: 7.938 kB / 386.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.0112, allocations: 51.88 kB / 386.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006895/0.01189, allocations: 0.8367 MB / 387.5 MB, free: 9.371 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.01226, allocations: 224.3 kB / 387.7 MB, free: 9.102 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.714e-05/0.01235, allocations: 70.84 kB / 387.8 MB, free: 9.016 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.01237, allocations: 8 kB / 387.8 MB, free: 9.008 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.0126, allocations: 193.2 kB / 388 MB, free: 8.789 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/0.0126, allocations: 0 / 388 MB, free: 8.789 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001083/0.01368, allocations: 0.706 MB / 388.7 MB, free: 8.078 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.01373, allocations: 136.5 kB / 388.8 MB, free: 7.914 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003925/0.01412, allocations: 0.636 MB / 389.5 MB, free: 7.262 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.01415, allocations: 41.64 kB / 389.5 MB, free: 7.215 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.01429, allocations: 319.6 kB / 389.8 MB, free: 6.898 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.133e-05/0.01437, allocations: 150.8 kB / 390 MB, free: 6.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/0.01444, allocations: 87.77 kB / 390 MB, free: 6.656 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.01458, allocations: 0.5624 MB / 390.6 MB, free: 6.082 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.551e-05/0.01464, allocations: 48.95 kB / 390.7 MB, free: 6.035 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.769e-05/0.01474, allocations: 150.3 kB / 390.8 MB, free: 5.855 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.01491, allocations: 229.3 kB / 391 MB, free: 5.598 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01491, allocations: 3.938 kB / 391 MB, free: 5.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002854/0.0152, allocations: 344.8 kB / 391.4 MB, free: 5.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.01521, allocations: 8 kB / 391.4 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.01521, allocations: 0 / 391.4 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.01523, allocations: 4 kB / 391.4 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.01537, allocations: 87.89 kB / 391.5 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.01538, allocations: 12.06 kB / 391.5 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.75e-05/0.01545, allocations: 23.98 kB / 391.5 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.01547, allocations: 16 kB / 391.5 MB, free: 5.102 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001003/0.01557, allocations: 179 kB / 391.7 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.01563, allocations: 87.5 kB / 391.8 MB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003926/0.01602, allocations: 418.9 kB / 392.2 MB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.01603, allocations: 8 kB / 392.2 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.01603, allocations: 0 / 392.2 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01604, allocations: 0 / 392.2 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007994/0.01684, allocations: 1.277 MB / 393.5 MB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.01684, allocations: 0 / 393.5 MB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.641e-05/0.01694, allocations: 63.91 kB / 393.5 MB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.01694, allocations: 8 kB / 393.5 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.01696, allocations: 23.92 kB / 393.6 MB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.01696, allocations: 8.188 kB / 393.6 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.01697, allocations: 8 kB / 393.6 MB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007136/0.01768, allocations: 0.9343 MB / 394.5 MB, free: 1.949 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-05/0.01777, allocations: 95.52 kB / 394.6 MB, free: 1.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.01781, allocations: 23.92 kB / 394.6 MB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.01795, allocations: 12 kB / 394.6 MB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.01801, allocations: 47.86 kB / 394.7 MB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.01803, allocations: 20 kB / 394.7 MB, free: 1.754 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002087/0.01824, allocations: 406.9 kB / 395.1 MB, free: 1.363 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01824, allocations: 4 kB / 395.1 MB, free: 1.359 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003105/0.01855, allocations: 91.92 kB / 395.2 MB, free: 1.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0009492/0.0195, allocations: 0.4938 MB / 395.7 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.01972, allocations: 223.7 kB / 395.9 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01972, allocations: 0 / 395.9 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.01983, allocations: 128.4 kB / 396 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005314/0.02036, allocations: 146.9 kB / 396.2 MB, free: 444 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00081/0.02117, allocations: 0.9327 MB / 397.1 MB, free: 15.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.488e-05/0.02126, allocations: 146.2 kB / 397.3 MB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.02138, allocations: 79.25 kB / 397.3 MB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.02156, allocations: 174.1 kB / 397.5 MB, free: 15.01 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02156, allocations: 0 / 397.5 MB, free: 15.01 MB / 378.7 MB Notification: Performance of Templates: time 0.007876/0.02944, allocations: 6.344 MB / 403.8 MB, free: 8.773 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.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.0285170138813555]