Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.001484/0.001484, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001913/0.001913, allocations: 162.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.045/1.045, allocations: 177 MB / 205.2 MB, free: 5.441 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.2966/0.2966, allocations: 34.87 MB / 296.6 MB, free: 0.5117 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.62e-07/9.62e-07, allocations: 0 / 326 MB, free: 7.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.412e-05, allocations: 6.031 kB / 326 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002194/0.002209, allocations: 1.76 MB / 327.8 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.003601, allocations: 1.006 MB / 328.8 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.025e-05/0.003662, allocations: 0 / 328.8 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.003898, allocations: 55.69 kB / 328.8 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002936/0.004192, allocations: 99.47 kB / 328.9 MB, free: 4.129 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.004405, allocations: 83.59 kB / 329 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.004548, allocations: 108.4 kB / 329.1 MB, free: 3.941 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.664e-05/0.004614, allocations: 7.984 kB / 329.1 MB, free: 3.934 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.106e-05/0.004695, allocations: 63.75 kB / 329.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.841e-05/0.004754, allocations: 19.92 kB / 329.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.004765, allocations: 8 kB / 329.2 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.577e-05/0.004831, allocations: 43.92 kB / 329.2 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.686e-05/0.004868, allocations: 31.84 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.004896, allocations: 15.94 kB / 329.3 MB, free: 3.754 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.005036, allocations: 103.6 kB / 329.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.005038, allocations: 3.938 kB / 329.4 MB, free: 3.648 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.005038, allocations: 3.938 kB / 329.4 MB, free: 3.645 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.005041, allocations: 0 / 329.4 MB, free: 3.645 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.0002957/0.005337, allocations: 337.4 kB / 329.7 MB, free: 3.293 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.503e-05/0.005362, allocations: 8.031 kB / 329.7 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.247e-05/0.005384, allocations: 12.92 kB / 329.7 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.005506, allocations: 150.4 kB / 329.9 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.005516, allocations: 4.375 kB / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.005529, allocations: 384 / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.635e-05/0.005605, allocations: 69.75 kB / 330 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.005611, allocations: 192 / 330 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.75e-06/0.005617, allocations: 4.312 kB / 330 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.005621, allocations: 3.938 kB / 330 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.293e-05/0.005644, allocations: 11.98 kB / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.005805, allocations: 170 kB / 330.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.576e-05/0.005881, allocations: 89.28 kB / 330.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.682e-05/0.005897, allocations: 12.86 kB / 330.3 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.005906, allocations: 0 / 330.3 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.61e-05/0.005972, allocations: 66.16 kB / 330.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 6.81e-07/0.005972, allocations: 0 / 330.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002319/0.006204, allocations: 117.5 kB / 330.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.006235, allocations: 51.41 kB / 330.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.006343, allocations: 201.6 kB / 330.7 MB, free: 2.227 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.006356, allocations: 29.7 kB / 330.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.006387, allocations: 100.1 kB / 330.8 MB, free: 2.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.006409, allocations: 27.77 kB / 330.8 MB, free: 2.062 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.006436, allocations: 25.66 kB / 330.9 MB, free: 2.031 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.79e-05/0.006514, allocations: 326.8 kB / 331.2 MB, free: 1.703 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.00653, allocations: 14.81 kB / 331.2 MB, free: 1.688 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.009e-05/0.00655, allocations: 21.72 kB / 331.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.259e-05/0.006593, allocations: 52.44 kB / 331.3 MB, free: 1.602 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.006594, allocations: 0 / 331.3 MB, free: 1.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.258e-05/0.006656, allocations: 68.81 kB / 331.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.006667, allocations: 11.97 kB / 331.3 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.00667, allocations: 0 / 331.3 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.126e-06/0.006678, allocations: 4 kB / 331.3 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.576e-05/0.006724, allocations: 16 kB / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.006726, allocations: 0 / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.00675, allocations: 7.984 kB / 331.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.006754, allocations: 4 kB / 331.4 MB, free: 1.484 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 5.518e-05/0.006809, allocations: 112.7 kB / 331.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.006822, allocations: 15.92 kB / 331.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.328e-05/0.006915, allocations: 83.06 kB / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.006917, allocations: 0 / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.006918, allocations: 0 / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.00692, allocations: 0 / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.007121, allocations: 291.5 kB / 331.9 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.007123, allocations: 3.938 kB / 331.9 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.538e-05/0.007149, allocations: 12 kB / 331.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.00715, allocations: 0 / 331.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.007155, allocations: 0 / 331.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.00716, allocations: 8.156 kB / 331.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.007162, allocations: 4 kB / 331.9 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.765e-05/0.007259, allocations: 219.9 kB / 332.1 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.269e-05/0.007272, allocations: 15.84 kB / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.007285, allocations: 0 / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.729e-05/0.007322, allocations: 11.98 kB / 332.1 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.007342, allocations: 7.938 kB / 332.1 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.007358, allocations: 3.984 kB / 332.1 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.649e-05/0.007405, allocations: 60.53 kB / 332.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007405, allocations: 0 / 332.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001431/0.007548, allocations: 27.94 kB / 332.2 MB, free: 0.5508 MB / 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.001193/0.008741, allocations: 0.5654 MB / 332.8 MB, free: 272 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.122e-05/0.008822, allocations: 40.78 kB / 332.8 MB, free: 228 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.008825, allocations: 0 / 332.8 MB, free: 228 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.917e-05/0.008855, allocations: 28.84 kB / 332.9 MB, free: 196 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.009014, allocations: 38.09 kB / 332.9 MB, free: 160 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.009314, allocations: 238.5 kB / 333.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.157e-05/0.009356, allocations: 71.33 kB / 333.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.498e-05/0.009391, allocations: 21.27 kB / 333.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.009449, allocations: 63.38 kB / 333.3 MB, free: 15.72 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009449, allocations: 0 / 333.3 MB, free: 15.72 MB / 314.7 MB Notification: Performance of Templates: time 0.003297/0.01275, allocations: 2.032 MB / 335.3 MB, free: 13.72 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.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.0898187602870166]