Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.001169/0.001169, allocations: 88.73 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.007366/0.007366, allocations: 165.1 kB / 24.91 MB, free: 8.715 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.009/1.009, allocations: 177 MB / 205.2 MB, free: 5.043 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.299/0.299, allocations: 34.86 MB / 296.6 MB, free: 480 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 326 MB, free: 7.051 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.536e-05, allocations: 5.953 kB / 326 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002399/0.002425, allocations: 1.831 MB / 327.9 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.00389, allocations: 1.013 MB / 328.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.158e-05/0.003952, allocations: 3.938 kB / 328.9 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.004201, allocations: 83.7 kB / 329 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.004411, allocations: 119.4 kB / 329.1 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.004533, allocations: 87.59 kB / 329.2 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.004666, allocations: 124.3 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.539e-05/0.004732, allocations: 15.98 kB / 329.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.923e-05/0.004811, allocations: 67.8 kB / 329.4 MB, free: 3.691 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.681e-05/0.004888, allocations: 47.89 kB / 329.4 MB, free: 3.645 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.0049, allocations: 4 kB / 329.4 MB, free: 3.641 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.98e-05/0.00498, allocations: 67.84 kB / 329.5 MB, free: 3.574 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.53e-05/0.005025, allocations: 27.92 kB / 329.5 MB, free: 3.547 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.005053, allocations: 23.86 kB / 329.6 MB, free: 3.523 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.005193, allocations: 111.6 kB / 329.7 MB, free: 3.414 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.005195, allocations: 0 / 329.7 MB, free: 3.414 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.005196, allocations: 0 / 329.7 MB, free: 3.414 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.815e-06/0.005198, allocations: 0 / 329.7 MB, free: 3.414 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.0002831/0.005482, allocations: 345.3 kB / 330 MB, free: 3.055 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.578e-05/0.005507, allocations: 11.97 kB / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.194e-05/0.005529, allocations: 8.938 kB / 330 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.005653, allocations: 153.5 kB / 330.2 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.005663, allocations: 4.375 kB / 330.2 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.005676, allocations: 4.375 kB / 330.2 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.951e-05/0.005756, allocations: 65.77 kB / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.005762, allocations: 192 / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.441e-06/0.005768, allocations: 384 / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.005774, allocations: 7.938 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.272e-05/0.005797, allocations: 11.92 kB / 330.3 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.005977, allocations: 177.9 kB / 330.4 MB, free: 2.566 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.006094, allocations: 89.36 kB / 330.5 MB, free: 2.469 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.006115, allocations: 24.97 kB / 330.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/0.006123, allocations: 0 / 330.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.11e-05/0.006194, allocations: 62.16 kB / 330.6 MB, free: 2.367 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.006195, allocations: 0 / 330.6 MB, free: 2.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003358/0.006531, allocations: 173.8 kB / 330.8 MB, free: 2.191 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.006554, allocations: 55.34 kB / 330.8 MB, free: 2.125 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.006659, allocations: 193.1 kB / 331 MB, free: 1.918 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.006671, allocations: 25.7 kB / 331 MB, free: 1.887 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.924e-05/0.0067, allocations: 96.11 kB / 331.1 MB, free: 1.789 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.006728, allocations: 43.67 kB / 331.2 MB, free: 1.746 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.006758, allocations: 25.7 kB / 331.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.134e-05/0.006829, allocations: 330.8 kB / 331.5 MB, free: 1.383 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.006848, allocations: 14.81 kB / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.558e-05/0.006873, allocations: 29.7 kB / 331.6 MB, free: 1.332 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.169e-05/0.006925, allocations: 51.62 kB / 331.6 MB, free: 1.277 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.006926, allocations: 0 / 331.6 MB, free: 1.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.194e-05/0.007008, allocations: 84.36 kB / 331.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.007018, allocations: 8 kB / 331.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.007021, allocations: 4.266 kB / 331.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.303e-06/0.007029, allocations: 0 / 331.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.878e-05/0.007077, allocations: 23.98 kB / 331.7 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.007082, allocations: 7.984 kB / 331.7 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.309e-05/0.007106, allocations: 7.938 kB / 331.8 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.007112, allocations: 4 kB / 331.8 MB, free: 1.133 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 (13): * Single equations (assignments): 13 * 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 5.677e-05/0.007168, allocations: 120.6 kB / 331.9 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.007181, allocations: 11.92 kB / 331.9 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.007287, allocations: 95.06 kB / 332 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.007289, allocations: 0 / 332 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.00729, allocations: 4 kB / 332 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.007294, allocations: 3.984 kB / 332 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.007519, allocations: 324.2 kB / 332.3 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.007521, allocations: 0 / 332.3 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/0.007553, allocations: 15.98 kB / 332.3 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.007555, allocations: 0 / 332.3 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.007561, allocations: 8 kB / 332.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.007562, allocations: 0 / 332.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.007564, allocations: 4 kB / 332.3 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.007673, allocations: 239.8 kB / 332.6 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.007683, allocations: 11.91 kB / 332.6 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.007699, allocations: 7.984 kB / 332.6 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.851e-05/0.007737, allocations: 7.984 kB / 332.6 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.007762, allocations: 7.984 kB / 332.6 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.007773, allocations: 8 kB / 332.6 MB, free: 208 kB / 298.7 MB Notification: Performance of sorting global known variables: time 4.379e-05/0.007817, allocations: 61.55 kB / 332.7 MB, free: 144 kB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007817, allocations: 0 / 332.7 MB, free: 144 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001405/0.007958, allocations: 27.94 kB / 332.7 MB, free: 116 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001666/0.009624, allocations: 0.6431 MB / 333.3 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.029e-05/0.009704, allocations: 48.78 kB / 333.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.009706, allocations: 0 / 333.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.336e-05/0.00974, allocations: 32.78 kB / 333.4 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.00991, allocations: 40.11 kB / 333.5 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.01019, allocations: 251.7 kB / 333.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.87e-05/0.01023, allocations: 79.52 kB / 333.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.492e-05/0.01026, allocations: 16.58 kB / 333.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.471e-05/0.01033, allocations: 75.36 kB / 333.9 MB, free: 15.19 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01033, allocations: 0 / 333.9 MB, free: 15.19 MB / 314.7 MB Notification: Performance of Templates: time 0.003999/0.01433, allocations: 2.298 MB / 336.2 MB, free: 12.93 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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.0515393018722534]