Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.0007473/0.0007473, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001106/0.001853, allocations: 457.8 kB / 10.45 MB, free: 244 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.0006949/0.0006949, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001027/0.001722, allocations: 475.6 kB / 11.82 MB, free: 2.348 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 1.123/1.123, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1428/1.266, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.2749/0.2749, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02653/0.3015, allocations: 13.23 MB / 292.8 MB, free: 6.395 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 294.2 MB, free: 5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.016e-05, allocations: 2.312 kB / 294.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003018/0.003038, allocations: 1.985 MB / 296.2 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.004625, allocations: 1.13 MB / 297.3 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.004753, allocations: 0 / 297.3 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.005043, allocations: 163.3 kB / 297.5 MB, free: 1.699 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003928/0.005436, allocations: 203.1 kB / 297.7 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.005775, allocations: 123.4 kB / 297.8 MB, free: 1.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.006149, allocations: 247.2 kB / 298 MB, free: 1.137 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.006287, allocations: 18.61 kB / 298 MB, free: 1.121 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003111/0.006598, allocations: 200.1 kB / 298.2 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.006768, allocations: 111.7 kB / 298.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.006791, allocations: 8 kB / 298.4 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.006934, allocations: 63.92 kB / 298.4 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.596e-05/0.00702, allocations: 43.8 kB / 298.5 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.725e-05/0.007077, allocations: 39.81 kB / 298.5 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.007359, allocations: 179.2 kB / 298.7 MB, free: 496 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.63e-05/0.007375, allocations: 0 / 298.7 MB, free: 496 kB / 282.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.007377, allocations: 0 / 298.7 MB, free: 496 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.007391, allocations: 0 / 298.7 MB, free: 496 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006358/0.008027, allocations: 495.7 kB / 299.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.008068, allocations: 8.031 kB / 299.2 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.395e-05/0.008122, allocations: 24.92 kB / 299.2 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.00838, allocations: 201.9 kB / 299.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.008407, allocations: 8.375 kB / 299.4 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.008439, allocations: 8.312 kB / 299.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.008638, allocations: 111.4 kB / 299.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.008651, allocations: 8.125 kB / 299.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.00866, allocations: 0.5625 kB / 299.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.008668, allocations: 7.922 kB / 299.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.537e-05/0.008713, allocations: 29.62 kB / 299.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.00906, allocations: 304.8 kB / 299.9 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.009293, allocations: 182.7 kB / 300 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.58e-05/0.009329, allocations: 29.7 kB / 300.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.009344, allocations: 4 kB / 300.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.009502, allocations: 109.8 kB / 300.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.009503, allocations: 4 kB / 300.2 MB, free: 14.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006804/0.01018, allocations: 329.5 kB / 300.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.01023, allocations: 81.11 kB / 300.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.01045, allocations: 288.6 kB / 300.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.01047, allocations: 37.7 kB / 300.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.01052, allocations: 113.2 kB / 301 MB, free: 13.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/0.01057, allocations: 71.39 kB / 301.1 MB, free: 13.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.951e-05/0.01062, allocations: 45.69 kB / 301.1 MB, free: 13.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.01073, allocations: 346.7 kB / 301.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.583e-05/0.01076, allocations: 22.81 kB / 301.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.922e-05/0.01081, allocations: 63.33 kB / 301.5 MB, free: 13.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.676e-05/0.01091, allocations: 94.72 kB / 301.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01091, allocations: 4 kB / 301.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001485/0.01106, allocations: 136.2 kB / 301.8 MB, free: 13.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.01107, allocations: 10.81 kB / 301.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.01108, allocations: 0 / 301.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.01109, allocations: 0 / 301.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.0112, allocations: 59.91 kB / 301.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.237e-06/0.0112, allocations: 0 / 301.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.01125, allocations: 11.94 kB / 301.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.01126, allocations: 4 kB / 301.9 MB, free: 13.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.16e-05/0.01135, allocations: 140.6 kB / 302 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.01138, allocations: 19.98 kB / 302 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.01158, allocations: 163.3 kB / 302.2 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.01158, allocations: 3.984 kB / 302.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.01159, allocations: 4 kB / 302.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.01159, allocations: 0 / 302.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.01204, allocations: 0.5495 MB / 302.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.01204, allocations: 4.125 kB / 302.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.705e-05/0.01211, allocations: 39.92 kB / 302.8 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.01213, allocations: 23.81 kB / 302.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.01214, allocations: 4 kB / 302.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.01215, allocations: 15.92 kB / 302.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.01215, allocations: 4 kB / 302.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01216, allocations: 0 / 302.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.01238, allocations: 412.8 kB / 303.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.01241, allocations: 11.94 kB / 303.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.781e-05/0.01249, allocations: 11.98 kB / 303.3 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.01253, allocations: 19.97 kB / 303.3 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.01255, allocations: 12 kB / 303.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.202e-05/0.01264, allocations: 119.5 kB / 303.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01264, allocations: 0 / 303.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002199/0.01286, allocations: 47.94 kB / 303.4 MB, free: 11.4 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001746/0.0146, allocations: 0.7167 MB / 304.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.01481, allocations: 108.7 kB / 304.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/0.01482, allocations: 4 kB / 304.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.234e-05/0.0149, allocations: 68.7 kB / 304.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.01532, allocations: 368 kB / 304.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000687/0.016, allocations: 460.8 kB / 305.2 MB, free: 9.953 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.658e-05/0.01607, allocations: 108.2 kB / 305.3 MB, free: 9.824 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.427e-05/0.01615, allocations: 33.88 kB / 305.3 MB, free: 9.789 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.01625, allocations: 91.34 kB / 305.4 MB, free: 9.699 MB / 298.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01625, allocations: 0 / 305.4 MB, free: 9.699 MB / 298.7 MB Notification: Performance of Templates: time 0.005863/0.02211, allocations: 3.698 MB / 309.1 MB, free: 6.074 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1423037005588412]