Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.001553/0.001553, allocations: 84.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.001094/0.001094, allocations: 164.2 kB / 24.91 MB, free: 8.766 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.082 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.2509/0.2509, allocations: 34.85 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 326 MB, free: 7.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.575e-05, allocations: 2.312 kB / 326 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002696/0.002722, allocations: 1.812 MB / 327.9 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.004243, allocations: 1.009 MB / 328.9 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.773e-05/0.004331, allocations: 0 / 328.9 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000474/0.004805, allocations: 55.69 kB / 328.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.005148, allocations: 95.47 kB / 329 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.005385, allocations: 79.67 kB / 329.1 MB, free: 3.969 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.005568, allocations: 116.3 kB / 329.2 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.005669, allocations: 7.984 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.005771, allocations: 51.89 kB / 329.3 MB, free: 3.797 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.458e-05/0.005856, allocations: 27.91 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.005871, allocations: 11.94 kB / 329.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.388e-05/0.005955, allocations: 47.86 kB / 329.4 MB, free: 3.711 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.006007, allocations: 31.91 kB / 329.4 MB, free: 3.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.521e-05/0.006042, allocations: 23.86 kB / 329.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.006298, allocations: 103.7 kB / 329.5 MB, free: 3.555 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.0063, allocations: 0 / 329.5 MB, free: 3.555 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.006301, allocations: 4 kB / 329.5 MB, free: 3.551 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.006304, allocations: 0 / 329.5 MB, free: 3.551 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.0004031/0.006708, allocations: 349.2 kB / 329.9 MB, free: 3.188 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.006742, allocations: 12.03 kB / 329.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.006776, allocations: 4.938 kB / 329.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.006946, allocations: 174.4 kB / 330 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.006962, allocations: 384 / 330 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.006981, allocations: 4.375 kB / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.007092, allocations: 61.77 kB / 330.1 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.007101, allocations: 192 / 330.1 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.007109, allocations: 384 / 330.1 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.007117, allocations: 7.938 kB / 330.1 MB, free: 2.891 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.458e-05/0.007142, allocations: 7.984 kB / 330.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.007357, allocations: 165.9 kB / 330.3 MB, free: 2.703 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.016e-05/0.007447, allocations: 93.34 kB / 330.4 MB, free: 2.602 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.017e-05/0.007467, allocations: 16.84 kB / 330.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.007476, allocations: 0 / 330.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.501e-05/0.007561, allocations: 58.22 kB / 330.4 MB, free: 2.512 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.007563, allocations: 0 / 330.4 MB, free: 2.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003152/0.007878, allocations: 121.5 kB / 330.6 MB, free: 2.387 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.00791, allocations: 51.41 kB / 330.6 MB, free: 2.324 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.008044, allocations: 216 kB / 330.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.00806, allocations: 33.7 kB / 330.9 MB, free: 2.059 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.008096, allocations: 100 kB / 331 MB, free: 1.957 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.008122, allocations: 23.78 kB / 331 MB, free: 1.934 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.008154, allocations: 25.7 kB / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002487/0.008403, allocations: 326.8 kB / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.00842, allocations: 10.83 kB / 331.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.55e-05/0.008445, allocations: 29.69 kB / 331.4 MB, free: 1.527 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.401e-05/0.008489, allocations: 44.45 kB / 331.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.00849, allocations: 0 / 331.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.725e-05/0.008567, allocations: 68.44 kB / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.00858, allocations: 13.22 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.008586, allocations: 4.375 kB / 331.5 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.008599, allocations: 3.984 kB / 331.5 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.745e-05/0.008657, allocations: 15.94 kB / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.00866, allocations: 4 kB / 331.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.761e-05/0.008688, allocations: 12 kB / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.008693, allocations: 0 / 331.5 MB, free: 1.352 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 6.298e-05/0.008756, allocations: 120.6 kB / 331.6 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.008771, allocations: 19.92 kB / 331.7 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.45e-05/0.008866, allocations: 79.08 kB / 331.7 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.008867, allocations: 4 kB / 331.7 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.008868, allocations: 0 / 331.7 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.008871, allocations: 0 / 331.7 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.009069, allocations: 299.6 kB / 332 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.009071, allocations: 7.938 kB / 332 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.066e-05/0.009092, allocations: 8 kB / 332.1 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.009093, allocations: 0 / 332.1 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.009102, allocations: 7.984 kB / 332.1 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.009104, allocations: 4 kB / 332.1 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009105, allocations: 0 / 332.1 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.524e-05/0.0092, allocations: 215.1 kB / 332.3 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.338e-05/0.009213, allocations: 19.84 kB / 332.3 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.009228, allocations: 3.984 kB / 332.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.907e-05/0.009267, allocations: 8 kB / 332.3 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.009295, allocations: 3.984 kB / 332.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.009307, allocations: 4 kB / 332.3 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.197e-05/0.009359, allocations: 69.02 kB / 332.4 MB, free: 432 kB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009359, allocations: 0 / 332.4 MB, free: 432 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001488/0.009507, allocations: 27.92 kB / 332.4 MB, free: 404 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.001176/0.01068, allocations: 0.5755 MB / 333 MB, free: 104 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.246e-05/0.01077, allocations: 36.83 kB / 333 MB, free: 64 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.01077, allocations: 7.938 kB / 333 MB, free: 56 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.726e-05/0.0108, allocations: 28.91 kB / 333.1 MB, free: 24 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.01098, allocations: 31.97 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.0002996/0.01128, allocations: 256.4 kB / 333.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.128e-05/0.01132, allocations: 75.33 kB / 333.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.473e-05/0.01136, allocations: 21.25 kB / 333.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.374e-05/0.01142, allocations: 71.36 kB / 333.5 MB, free: 15.53 MB / 314.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01142, allocations: 0 / 333.5 MB, free: 15.53 MB / 314.7 MB Notification: Performance of Templates: time 0.003594/0.01501, allocations: 2.036 MB / 335.5 MB, free: 13.52 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.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.9498075055889785]