Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.001278/0.001278, 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.0009743/0.0009743, allocations: 163.4 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.013/1.013, allocations: 177 MB / 205.2 MB, free: 5.008 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.2973/0.2973, allocations: 34.86 MB / 296.6 MB, free: 392 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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,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.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 326.1 MB, free: 7.012 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.507e-05, allocations: 4.844 kB / 326.1 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002967/0.002992, allocations: 1.822 MB / 327.9 MB, free: 5.172 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.004322, allocations: 1.006 MB / 328.9 MB, free: 4.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.266e-05/0.004395, allocations: 11.94 kB / 328.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.004679, allocations: 95.61 kB / 329 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002716/0.004951, allocations: 127.4 kB / 329.1 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.005125, allocations: 83.59 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.005278, allocations: 140.3 kB / 329.3 MB, free: 3.711 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.756e-05/0.005355, allocations: 19.97 kB / 329.4 MB, free: 3.691 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.166e-05/0.005447, allocations: 75.8 kB / 329.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.377e-05/0.005531, allocations: 59.86 kB / 329.5 MB, free: 3.559 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.005544, allocations: 4 kB / 329.5 MB, free: 3.555 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.467e-05/0.005639, allocations: 63.86 kB / 329.6 MB, free: 3.492 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.392e-05/0.005693, allocations: 31.86 kB / 329.6 MB, free: 3.461 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.868e-05/0.005732, allocations: 23.91 kB / 329.6 MB, free: 3.438 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.005907, allocations: 131.5 kB / 329.7 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.005909, allocations: 0 / 329.7 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.00591, allocations: 4 kB / 329.7 MB, free: 3.305 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.005914, allocations: 0 / 329.7 MB, free: 3.305 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003578/0.006272, allocations: 361.2 kB / 330.1 MB, free: 2.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.006305, allocations: 11.97 kB / 330.1 MB, free: 2.918 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.006338, allocations: 12.92 kB / 330.1 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.006513, allocations: 158.5 kB / 330.3 MB, free: 2.723 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.00653, allocations: 384 / 330.3 MB, free: 2.723 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.00655, allocations: 4.375 kB / 330.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.006691, allocations: 77.69 kB / 330.4 MB, free: 2.633 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.0067, allocations: 192 / 330.4 MB, free: 2.633 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.006709, allocations: 4.375 kB / 330.4 MB, free: 2.629 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.006715, allocations: 3.938 kB / 330.4 MB, free: 2.625 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.508e-05/0.00675, allocations: 19.98 kB / 330.4 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.006985, allocations: 181.9 kB / 330.6 MB, free: 2.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.007142, allocations: 97.31 kB / 330.7 MB, free: 2.305 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.007168, allocations: 24.83 kB / 330.7 MB, free: 2.277 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.007179, allocations: 4 kB / 330.7 MB, free: 2.273 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.952e-05/0.007268, allocations: 62.17 kB / 330.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.00727, allocations: 0 / 330.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004576/0.007728, allocations: 189.6 kB / 330.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.007759, allocations: 51.41 kB / 331 MB, free: 1.945 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.007897, allocations: 221.1 kB / 331.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.007915, allocations: 29.69 kB / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.007952, allocations: 100 kB / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.007986, allocations: 43.62 kB / 331.4 MB, free: 1.535 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.008026, allocations: 33.69 kB / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.81e-05/0.008124, allocations: 330.8 kB / 331.7 MB, free: 1.164 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.008147, allocations: 10.83 kB / 331.7 MB, free: 1.152 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.619e-05/0.008183, allocations: 33.69 kB / 331.8 MB, free: 1.109 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.54e-05/0.008248, allocations: 56.98 kB / 331.8 MB, free: 1.047 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.00825, allocations: 0 / 331.8 MB, free: 1.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001077/0.008357, allocations: 88.38 kB / 331.9 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.008371, allocations: 5.25 kB / 331.9 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.008376, allocations: 0 / 331.9 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.008399, allocations: 7.984 kB / 331.9 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.762e-05/0.008467, allocations: 19.94 kB / 331.9 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.008474, allocations: 8.703 kB / 331.9 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.142e-05/0.008506, allocations: 7.922 kB / 332 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.008514, allocations: 4 kB / 332 MB, free: 0.9023 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 (14): * Single equations (assignments): 14 * 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 8.428e-05/0.008599, allocations: 124.7 kB / 332.1 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.008616, allocations: 19.92 kB / 332.1 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.00877, allocations: 104.2 kB / 332.2 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.008773, allocations: 0 / 332.2 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.008775, allocations: 0 / 332.2 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.008778, allocations: 0 / 332.2 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.009073, allocations: 341.4 kB / 332.5 MB, free: 284 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.009075, allocations: 0 / 332.5 MB, free: 284 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.167e-05/0.009117, allocations: 24.05 kB / 332.6 MB, free: 260 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.009119, allocations: 0 / 332.6 MB, free: 260 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.009129, allocations: 8 kB / 332.6 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.009131, allocations: 3.938 kB / 332.6 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.009134, allocations: 4 kB / 332.6 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.009276, allocations: 240.9 kB / 332.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.466e-05/0.009291, allocations: 15.91 kB / 332.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.009309, allocations: 4 kB / 332.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.667e-05/0.009356, allocations: 8 kB / 332.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.009386, allocations: 11.97 kB / 332.8 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.009401, allocations: 4 kB / 332.9 MB, free: 15.94 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.44e-05/0.009455, allocations: 73.88 kB / 332.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009455, allocations: 3.938 kB / 332.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001757/0.009631, allocations: 39.92 kB / 333 MB, free: 15.82 MB / 314.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 (14): * Single equations (assignments): 12 * 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.001432/0.01106, allocations: 0.6329 MB / 333.6 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.01118, allocations: 56.77 kB / 333.7 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.01119, allocations: 0 / 333.7 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.246e-05/0.01123, allocations: 44.83 kB / 333.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.01142, allocations: 34.62 kB / 333.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.01179, allocations: 293.1 kB / 334 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.577e-05/0.01184, allocations: 79.72 kB / 334.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.645e-05/0.01189, allocations: 17.14 kB / 334.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.522e-05/0.01196, allocations: 83.42 kB / 334.2 MB, free: 14.85 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01196, allocations: 0 / 334.2 MB, free: 14.85 MB / 314.7 MB Notification: Performance of Templates: time 0.0043/0.01626, allocations: 2.453 MB / 336.6 MB, free: 12.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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.0147919431328773]