Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.0006891/0.0006891, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001086/0.001775, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007056/0.0007056, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009596/0.001665, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9866/0.9866, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08927/1.076, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.2804/0.2804, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02736/0.3078, allocations: 13.22 MB / 292.6 MB, free: 6.477 MB / 282.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 293.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.682e-05, allocations: 5.844 kB / 294 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003005/0.003022, allocations: 1.995 MB / 295.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.004256, allocations: 1.064 MB / 297 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.588e-05/0.004342, allocations: 3.938 kB / 297 MB, free: 2.023 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.004543, allocations: 39.66 kB / 297.1 MB, free: 1.984 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.004737, allocations: 95.41 kB / 297.1 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.004907, allocations: 103.6 kB / 297.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.005097, allocations: 147.5 kB / 297.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.005198, allocations: 22.45 kB / 297.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.005337, allocations: 107.7 kB / 297.5 MB, free: 1.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.952e-05/0.005437, allocations: 35.83 kB / 297.6 MB, free: 1.484 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.005454, allocations: 12 kB / 297.6 MB, free: 1.473 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.9e-05/0.005543, allocations: 43.98 kB / 297.6 MB, free: 1.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.97e-05/0.005593, allocations: 23.88 kB / 297.6 MB, free: 1.406 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.005635, allocations: 27.92 kB / 297.7 MB, free: 1.379 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.005831, allocations: 119.5 kB / 297.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.651e-05/0.005848, allocations: 3.984 kB / 297.8 MB, free: 1.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005848, allocations: 0 / 297.8 MB, free: 1.258 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.005865, allocations: 0 / 297.8 MB, free: 1.258 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005034/0.006368, allocations: 414.5 kB / 298.2 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.006397, allocations: 8.922 kB / 298.2 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.006432, allocations: 16.92 kB / 298.2 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.006593, allocations: 162.9 kB / 298.4 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.006609, allocations: 8.359 kB / 298.4 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.006627, allocations: 8.375 kB / 298.4 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.006783, allocations: 140.4 kB / 298.5 MB, free: 448 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.00679, allocations: 192 / 298.5 MB, free: 448 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.006798, allocations: 384 / 298.5 MB, free: 448 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.006804, allocations: 3.938 kB / 298.5 MB, free: 444 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.899e-05/0.006843, allocations: 26.81 kB / 298.6 MB, free: 416 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.00714, allocations: 374.1 kB / 298.9 MB, free: 16 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.007302, allocations: 101.3 kB / 299 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.508e-05/0.007327, allocations: 20.8 kB / 299 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.007339, allocations: 4 kB / 299 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/0.007447, allocations: 104.8 kB / 299.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.007448, allocations: 0 / 299.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001184/0.007567, allocations: 74.17 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.007591, allocations: 55.39 kB / 299.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.007696, allocations: 192.1 kB / 299.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.00771, allocations: 25.7 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.389e-05/0.007754, allocations: 108 kB / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.007774, allocations: 27.75 kB / 299.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.007806, allocations: 33.69 kB / 299.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.007877, allocations: 326.8 kB / 300 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.007895, allocations: 14.81 kB / 300 MB, free: 14.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.977e-05/0.007925, allocations: 41.53 kB / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.744e-05/0.007982, allocations: 85.45 kB / 300.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.007984, allocations: 0 / 300.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.303e-05/0.008067, allocations: 92.3 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.008078, allocations: 10.44 kB / 300.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.008082, allocations: 4 kB / 300.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.00809, allocations: 128 / 300.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.311e-05/0.008153, allocations: 27.98 kB / 300.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.00816, allocations: 4 kB / 300.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.035e-05/0.00819, allocations: 11.95 kB / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.008197, allocations: 11.92 kB / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 5.83e-05/0.008256, allocations: 116.7 kB / 300.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.008268, allocations: 15.92 kB / 300.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.821e-05/0.008357, allocations: 75.08 kB / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.008358, allocations: 0 / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.008359, allocations: 0 / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.008363, allocations: 7.984 kB / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.537e-05/0.008439, allocations: 105.7 kB / 300.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.008441, allocations: 3.984 kB / 300.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.681e-05/0.008487, allocations: 19.98 kB / 300.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.172e-05/0.008499, allocations: 11.89 kB / 300.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.0085, allocations: 0 / 300.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.008507, allocations: 0 / 300.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.008508, allocations: 0 / 300.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.008508, allocations: 4 kB / 300.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.008639, allocations: 114.7 kB / 300.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.008655, allocations: 7.938 kB / 300.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.893e-05/0.008684, allocations: 16.02 kB / 300.8 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.008706, allocations: 0 / 300.8 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.008717, allocations: 7.984 kB / 300.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.244e-05/0.00876, allocations: 57.7 kB / 300.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00876, allocations: 0 / 300.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001193/0.008879, allocations: 31.89 kB / 300.8 MB, free: 13.9 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.00118/0.01006, allocations: 0.5557 MB / 301.4 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.419e-05/0.01015, allocations: 52.77 kB / 301.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.01016, allocations: 4 kB / 301.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.196e-05/0.0102, allocations: 24.8 kB / 301.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.01034, allocations: 46.2 kB / 301.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.01076, allocations: 257.7 kB / 301.8 MB, free: 13.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.529e-05/0.01079, allocations: 67.84 kB / 301.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.88e-05/0.01083, allocations: 17.73 kB / 301.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.279e-05/0.0109, allocations: 83.3 kB / 301.9 MB, free: 13.04 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.0109, allocations: 0 / 301.9 MB, free: 13.04 MB / 298.7 MB Notification: Performance of Templates: time 0.003514/0.01442, allocations: 2.238 MB / 304.2 MB, free: 10.83 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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.9223812194541097]