Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.001078/0.001078, 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.001044/0.001044, allocations: 171.8 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.9099/0.9099, allocations: 177 MB / 205.1 MB, free: 5.473 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.2564/0.2564, allocations: 34.87 MB / 296.6 MB, free: 0.4922 MB / 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 379.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.715e-05, allocations: 3.297 kB / 379.3 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002376/0.002393, allocations: 1.931 MB / 381.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.003697, allocations: 1.102 MB / 382.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.509e-05/0.003782, allocations: 0 / 382.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.004147, allocations: 223.2 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003959/0.004543, allocations: 223 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.004747, allocations: 119.6 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004949/0.005241, allocations: 263.2 kB / 383.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.629e-05/0.005338, allocations: 17.95 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.005474, allocations: 147.6 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.00561, allocations: 155.6 kB / 383.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.00563, allocations: 8 kB / 383.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.135e-05/0.005721, allocations: 67.91 kB / 383.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.005782, allocations: 67.7 kB / 383.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.823e-05/0.00583, allocations: 47.78 kB / 383.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.00603, allocations: 191.2 kB / 383.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.006032, allocations: 4 kB / 383.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.006033, allocations: 3.938 kB / 383.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.006037, allocations: 0 / 383.9 MB, free: 13.16 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005182/0.006555, allocations: 0.6118 MB / 384.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.006594, allocations: 8.031 kB / 384.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.006644, allocations: 32.75 kB / 384.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.006834, allocations: 220.6 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.006852, allocations: 4.375 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.006874, allocations: 16.34 kB / 384.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.007014, allocations: 112.7 kB / 384.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.007025, allocations: 4.141 kB / 384.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.007036, allocations: 12.31 kB / 384.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.007043, allocations: 7.922 kB / 384.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.388e-05/0.007087, allocations: 23.92 kB / 384.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.007411, allocations: 467.2 kB / 385.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.007589, allocations: 114 kB / 385.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.603e-05/0.007625, allocations: 35.61 kB / 385.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.007641, allocations: 8 kB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/0.007761, allocations: 124.2 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 9.52e-07/0.007761, allocations: 0 / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006017/0.008363, allocations: 362.2 kB / 386 MB, free: 10.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.008396, allocations: 85.05 kB / 386.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.008614, allocations: 386.2 kB / 386.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.008632, allocations: 37.69 kB / 386.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.008733, allocations: 231.2 kB / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/0.00878, allocations: 71.34 kB / 386.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.00883, allocations: 51.34 kB / 386.8 MB, free: 9.961 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.00897, allocations: 0.5273 MB / 387.4 MB, free: 9.422 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.721e-05/0.009007, allocations: 23.98 kB / 387.4 MB, free: 9.398 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.616e-05/0.009064, allocations: 72.89 kB / 387.5 MB, free: 9.312 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.761e-05/0.009161, allocations: 122.8 kB / 387.6 MB, free: 9.176 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.009163, allocations: 0 / 387.6 MB, free: 9.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001741/0.009337, allocations: 185.3 kB / 387.8 MB, free: 8.988 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.009349, allocations: 8 kB / 387.8 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.009354, allocations: 0 / 387.8 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.009365, allocations: 0 / 387.8 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.386e-05/0.009449, allocations: 47.92 kB / 387.8 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.009453, allocations: 0 / 387.8 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.223e-05/0.009495, allocations: 11.98 kB / 387.8 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.009504, allocations: 8 kB / 387.8 MB, free: 8.914 MB / 362.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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.397e-05/0.009598, allocations: 172.5 kB / 388 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.009632, allocations: 43.81 kB / 388 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.009885, allocations: 216.6 kB / 388.3 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.00989, allocations: 4 kB / 388.3 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.009892, allocations: 0 / 388.3 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.0099, allocations: 7.984 kB / 388.3 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004794/0.01038, allocations: 0.6908 MB / 389 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01038, allocations: 0 / 389 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.186e-05/0.01043, allocations: 31.98 kB / 389 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01044, allocations: 4.125 kB / 389 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.01045, allocations: 11.94 kB / 389 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.01045, allocations: 7.938 kB / 389 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01045, allocations: 0 / 389 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.01073, allocations: 0.4988 MB / 389.5 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.403e-05/0.01075, allocations: 27.8 kB / 389.5 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.01078, allocations: 11.94 kB / 389.5 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.01085, allocations: 15.98 kB / 389.6 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.01089, allocations: 27.91 kB / 389.6 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.0109, allocations: 4 kB / 389.6 MB, free: 7.047 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.01104, allocations: 258.9 kB / 389.8 MB, free: 6.793 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01104, allocations: 0 / 389.8 MB, free: 6.793 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002302/0.01127, allocations: 55.92 kB / 389.9 MB, free: 6.738 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.001233/0.0125, allocations: 488.7 kB / 390.4 MB, free: 6.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.01266, allocations: 111.4 kB / 390.5 MB, free: 6.297 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.01266, allocations: 0 / 390.5 MB, free: 6.297 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.494e-05/0.01273, allocations: 75.44 kB / 390.6 MB, free: 6.219 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.01305, allocations: 66.81 kB / 390.6 MB, free: 6.156 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.01352, allocations: 0.4899 MB / 391.1 MB, free: 5.613 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.576e-05/0.01358, allocations: 104.3 kB / 391.2 MB, free: 5.492 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.656e-05/0.01364, allocations: 45.89 kB / 391.3 MB, free: 5.449 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.992e-05/0.01374, allocations: 114.2 kB / 391.4 MB, free: 5.336 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01374, allocations: 0 / 391.4 MB, free: 5.336 MB / 362.7 MB Notification: Performance of Templates: time 0.004818/0.01856, allocations: 3.683 MB / 395.1 MB, free: 1.719 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.9113353211432695]