Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.0008075/0.0008075, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001125/0.001932, 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.000713/0.000713, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001055/0.001768, 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.9944/0.9944, allocations: 177.4 MB / 189.9 MB, free: 4.852 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.092/1.086, allocations: 53.86 MB / 243.7 MB, free: 14.93 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.2317/0.2317, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02132/0.253, allocations: 13.23 MB / 292.6 MB, free: 6.488 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 293.9 MB, free: 5.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113e-05/1.298e-05, allocations: 2.312 kB / 293.9 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002012/0.002025, allocations: 1.998 MB / 295.9 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.003183, allocations: 1.056 MB / 297 MB, free: 2.051 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.519e-05/0.003269, allocations: 4 kB / 297 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.003449, allocations: 47.58 kB / 297.1 MB, free: 2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.003627, allocations: 103.4 kB / 297.2 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.003768, allocations: 99.58 kB / 297.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.003943, allocations: 139.6 kB / 297.4 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.772e-05/0.004041, allocations: 22.44 kB / 297.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.004172, allocations: 107.7 kB / 297.5 MB, free: 1.539 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.004273, allocations: 39.84 kB / 297.6 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.004291, allocations: 4 kB / 297.6 MB, free: 1.496 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.805e-05/0.004369, allocations: 47.98 kB / 297.6 MB, free: 1.449 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.454e-05/0.004414, allocations: 27.86 kB / 297.6 MB, free: 1.422 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.004455, allocations: 23.94 kB / 297.7 MB, free: 1.398 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.004623, allocations: 127.5 kB / 297.8 MB, free: 1.273 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.344e-05/0.004637, allocations: 0 / 297.8 MB, free: 1.273 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004638, allocations: 0 / 297.8 MB, free: 1.273 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.004652, allocations: 0 / 297.8 MB, free: 1.273 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.0004991/0.005151, allocations: 410.5 kB / 298.2 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.005184, allocations: 8.922 kB / 298.2 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.005226, allocations: 16.92 kB / 298.2 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.005391, allocations: 166.9 kB / 298.4 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.005407, allocations: 4.375 kB / 298.4 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.005431, allocations: 8.375 kB / 298.4 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.005579, allocations: 137.9 kB / 298.5 MB, free: 468 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.005588, allocations: 4.125 kB / 298.5 MB, free: 464 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.005597, allocations: 4.375 kB / 298.5 MB, free: 460 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.005604, allocations: 7.938 kB / 298.5 MB, free: 452 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.819e-05/0.005642, allocations: 19.31 kB / 298.5 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003078/0.00595, allocations: 374.1 kB / 298.9 MB, free: 32 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.006119, allocations: 101.3 kB / 299 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.006144, allocations: 28.77 kB / 299 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.006155, allocations: 0 / 299 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/0.006269, allocations: 103.8 kB / 299.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.00627, allocations: 0 / 299.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001159/0.006386, allocations: 74.55 kB / 299.2 MB, free: 15.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.00641, allocations: 59.41 kB / 299.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.677e-05/0.006507, allocations: 180.1 kB / 299.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.006521, allocations: 29.7 kB / 299.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.006566, allocations: 112 kB / 299.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.006588, allocations: 31.73 kB / 299.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.006619, allocations: 25.7 kB / 299.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.326e-05/0.006692, allocations: 326.8 kB / 300 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/0.006708, allocations: 14.77 kB / 300 MB, free: 14.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.587e-05/0.006744, allocations: 55.39 kB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.111e-05/0.006805, allocations: 82.34 kB / 300.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.006808, allocations: 0 / 300.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.927e-05/0.006897, allocations: 94.08 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.006909, allocations: 8 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.006914, allocations: 0 / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.006923, allocations: 0 / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.65e-05/0.006989, allocations: 23.98 kB / 300.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.006993, allocations: 8.125 kB / 300.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/0.007022, allocations: 7.953 kB / 300.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.00703, allocations: 8 kB / 300.3 MB, free: 14.56 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 6.714e-05/0.007097, allocations: 124.6 kB / 300.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.007114, allocations: 11.94 kB / 300.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.539e-05/0.00721, allocations: 79.06 kB / 300.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.007211, allocations: 0 / 300.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.007212, allocations: 0 / 300.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.007215, allocations: 4 kB / 300.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.698e-05/0.007292, allocations: 101.7 kB / 300.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.007293, allocations: 4 kB / 300.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.747e-05/0.00734, allocations: 15.98 kB / 300.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.007352, allocations: 11.89 kB / 300.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.007354, allocations: 0 / 300.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.007367, allocations: 4 kB / 300.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.007368, allocations: 4 kB / 300.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.00737, allocations: 0 / 300.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.00748, allocations: 118.7 kB / 300.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.007494, allocations: 7.938 kB / 300.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.221e-05/0.007516, allocations: 4 kB / 300.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.007541, allocations: 12.02 kB / 300.7 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.007551, allocations: 8 kB / 300.8 MB, free: 14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.936e-05/0.00759, allocations: 57.7 kB / 300.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00759, allocations: 0 / 300.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001196/0.00771, allocations: 31.89 kB / 300.8 MB, free: 13.91 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.00128/0.00899, allocations: 0.5463 MB / 301.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.872e-05/0.009078, allocations: 52.97 kB / 301.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.009086, allocations: 4 kB / 301.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/0.00912, allocations: 32.77 kB / 301.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.009258, allocations: 42.55 kB / 301.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.009671, allocations: 253.8 kB / 301.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.238e-05/0.009704, allocations: 71.83 kB / 301.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.882e-05/0.009742, allocations: 17.55 kB / 301.9 MB, free: 13.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/0.009812, allocations: 79.3 kB / 301.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009812, allocations: 0 / 301.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of Templates: time 0.003598/0.01341, allocations: 2.246 MB / 304.2 MB, free: 10.86 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.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.91052358597517]