Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002081/0.003258, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001418/0.002454, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9673/0.9673, allocations: 173.4 MB / 185.9 MB, free: 8.926 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0901/1.057, allocations: 52.5 MB / 238.4 MB, free: 4.367 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1467/0.1467, allocations: 32.8 MB / 272 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1492/0.296, allocations: 12.54 MB / 284.5 MB, free: 11.89 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 285.9 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.048e-05, allocations: 4.422 kB / 286 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002993/0.003013, allocations: 1.947 MB / 287.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.004301, allocations: 0.9953 MB / 288.9 MB, free: 8.426 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.81e-05/0.004379, allocations: 2.125 kB / 288.9 MB, free: 8.426 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.004646, allocations: 158 kB / 289.1 MB, free: 8.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.004874, allocations: 153.7 kB / 289.2 MB, free: 8.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.005201, allocations: 186.1 kB / 289.4 MB, free: 8.113 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000259/0.00546, allocations: 228.5 kB / 289.6 MB, free: 7.988 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.111e-05/0.005551, allocations: 18.97 kB / 289.6 MB, free: 7.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.005739, allocations: 178.8 kB / 289.8 MB, free: 7.883 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.005864, allocations: 111.8 kB / 289.9 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.005884, allocations: 8.25 kB / 289.9 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.00599, allocations: 62.55 kB / 290 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.213e-05/0.006053, allocations: 41.98 kB / 290 MB, free: 7.793 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.829e-05/0.006101, allocations: 40.41 kB / 290.1 MB, free: 7.777 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.006325, allocations: 161.8 kB / 290.2 MB, free: 7.695 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.006336, allocations: 0 / 290.2 MB, free: 7.695 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.006337, allocations: 0 / 290.2 MB, free: 7.695 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.006347, allocations: 4 kB / 290.2 MB, free: 7.691 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005224/0.006869, allocations: 472 kB / 290.7 MB, free: 7.297 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.006899, allocations: 14.02 kB / 290.7 MB, free: 7.293 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.006943, allocations: 20.55 kB / 290.7 MB, free: 7.285 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.007141, allocations: 196.6 kB / 290.9 MB, free: 7.102 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.007157, allocations: 4.438 kB / 290.9 MB, free: 7.102 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.007184, allocations: 17.23 kB / 290.9 MB, free: 7.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.007328, allocations: 111.5 kB / 291 MB, free: 6.992 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.007339, allocations: 3.938 kB / 291 MB, free: 6.988 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.007347, allocations: 5.375 kB / 291 MB, free: 6.984 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.007354, allocations: 1.688 kB / 291 MB, free: 6.984 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.154e-05/0.007395, allocations: 29.41 kB / 291.1 MB, free: 6.969 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.007802, allocations: 309.3 kB / 291.4 MB, free: 6.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.007993, allocations: 190 kB / 291.6 MB, free: 6.512 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.182e-05/0.008025, allocations: 29.81 kB / 291.6 MB, free: 6.488 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.008044, allocations: 3.531 kB / 291.6 MB, free: 6.488 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.008168, allocations: 106.4 kB / 291.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 9.62e-07/0.008169, allocations: 0 / 291.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005841/0.008753, allocations: 321.8 kB / 292 MB, free: 6.242 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.008783, allocations: 79.86 kB / 292.1 MB, free: 6.148 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.00894, allocations: 279.5 kB / 292.4 MB, free: 5.949 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.008959, allocations: 36.44 kB / 292.4 MB, free: 5.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.008997, allocations: 108.2 kB / 292.5 MB, free: 5.812 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.00905, allocations: 82.3 kB / 292.6 MB, free: 5.742 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.009092, allocations: 43.44 kB / 292.6 MB, free: 5.707 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.794e-05/0.00917, allocations: 349.6 kB / 293 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.054e-05/0.0092, allocations: 24.69 kB / 293 MB, free: 5.355 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.592e-05/0.009246, allocations: 60.03 kB / 293.1 MB, free: 5.309 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.888e-05/0.009335, allocations: 102.5 kB / 293.2 MB, free: 5.246 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.009337, allocations: 4 kB / 293.2 MB, free: 5.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001295/0.009466, allocations: 132.7 kB / 293.3 MB, free: 5.176 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.009479, allocations: 10.03 kB / 293.3 MB, free: 5.172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.009485, allocations: 5.078 kB / 293.3 MB, free: 5.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.009496, allocations: 2.469 kB / 293.3 MB, free: 5.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.118e-05/0.009587, allocations: 45.42 kB / 293.3 MB, free: 5.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.009593, allocations: 8.875 kB / 293.4 MB, free: 5.156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.009636, allocations: 13.8 kB / 293.4 MB, free: 5.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.009645, allocations: 7.312 kB / 293.4 MB, free: 5.141 MB / 282.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 6.865e-05/0.009714, allocations: 123.1 kB / 293.5 MB, free: 5.016 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.00974, allocations: 26.5 kB / 293.5 MB, free: 5.004 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.009903, allocations: 155.4 kB / 293.7 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.009906, allocations: 2.438 kB / 293.7 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.009908, allocations: 0 / 293.7 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.009911, allocations: 1.125 kB / 293.7 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/0.01028, allocations: 0.5524 MB / 294.2 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01028, allocations: 2.188 kB / 294.2 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.393e-05/0.01035, allocations: 41.7 kB / 294.3 MB, free: 4.422 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.516e-05/0.01037, allocations: 31.45 kB / 294.3 MB, free: 4.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.01038, allocations: 7.203 kB / 294.3 MB, free: 4.395 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.01039, allocations: 7.688 kB / 294.3 MB, free: 4.391 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01039, allocations: 2.406 kB / 294.3 MB, free: 4.391 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.01039, allocations: 1.75 kB / 294.3 MB, free: 4.391 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.01058, allocations: 416.5 kB / 294.7 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.0106, allocations: 11.86 kB / 294.7 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.01067, allocations: 3.375 kB / 294.7 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.01071, allocations: 20.03 kB / 294.8 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.01072, allocations: 11.98 kB / 294.8 MB, free: 3.984 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.64e-05/0.0108, allocations: 107.5 kB / 294.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0108, allocations: 4 kB / 294.9 MB, free: 3.871 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001994/0.011, allocations: 51.92 kB / 294.9 MB, free: 3.82 MB / 282.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.00151/0.01251, allocations: 0.7272 MB / 295.7 MB, free: 3.473 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.01265, allocations: 107.6 kB / 295.8 MB, free: 3.367 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.01266, allocations: 4 kB / 295.8 MB, free: 3.363 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.658e-05/0.01272, allocations: 72.89 kB / 295.8 MB, free: 3.289 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.01309, allocations: 367.4 kB / 296.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005646/0.01366, allocations: 439.6 kB / 296.6 MB, free: 2.402 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.618e-05/0.01371, allocations: 100.2 kB / 296.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.083e-05/0.01378, allocations: 42.28 kB / 296.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.745e-05/0.01388, allocations: 95.3 kB / 296.9 MB, free: 2.152 MB / 282.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01388, allocations: 0 / 296.9 MB, free: 2.152 MB / 282.7 MB Notification: Performance of Templates: time 0.004747/0.01863, allocations: 3.618 MB / 300.5 MB, free: 14.59 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.9937651744112372]