Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.001228/0.001228, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001771/0.002999, 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.001039/0.001039, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001508/0.002547, 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 1.008/1.008, allocations: 173.4 MB / 185.9 MB, free: 8.922 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1042/1.112, allocations: 52.5 MB / 238.4 MB, free: 4.363 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.1489/0.1489, allocations: 32.81 MB / 272 MB, free: 2.965 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.157/0.306, allocations: 12.54 MB / 284.5 MB, free: 11.88 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 285.9 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.771e-05, allocations: 3.969 kB / 285.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002597/0.002625, allocations: 1.795 MB / 287.7 MB, free: 9.312 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.004008, allocations: 0.878 MB / 288.6 MB, free: 8.648 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.653e-05/0.004095, allocations: 1.094 kB / 288.6 MB, free: 8.648 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.004337, allocations: 47.16 kB / 288.6 MB, free: 8.617 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001916/0.004529, allocations: 54.64 kB / 288.7 MB, free: 8.578 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.004868, allocations: 120.7 kB / 288.8 MB, free: 8.492 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.005064, allocations: 96.7 kB / 288.9 MB, free: 8.438 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.704e-05/0.005151, allocations: 12.3 kB / 288.9 MB, free: 8.426 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.00529, allocations: 73.75 kB / 289 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.247e-05/0.005383, allocations: 21.27 kB / 289 MB, free: 8.371 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.005402, allocations: 3.844 kB / 289 MB, free: 8.371 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.249e-05/0.005494, allocations: 43.52 kB / 289.1 MB, free: 8.355 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.032e-05/0.005545, allocations: 24.22 kB / 289.1 MB, free: 8.344 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.005581, allocations: 16.72 kB / 289.1 MB, free: 8.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.005773, allocations: 97.28 kB / 289.2 MB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.639e-05/0.00579, allocations: 4 kB / 289.2 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.005791, allocations: 2.219 kB / 289.2 MB, free: 8.285 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.005804, allocations: 0 / 289.2 MB, free: 8.285 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005631/0.006367, allocations: 348.7 kB / 289.5 MB, free: 7.969 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.006411, allocations: 19.41 kB / 289.6 MB, free: 7.957 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.006457, allocations: 6.969 kB / 289.6 MB, free: 7.957 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.006654, allocations: 148.5 kB / 289.7 MB, free: 7.805 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.006671, allocations: 2.375 kB / 289.7 MB, free: 7.805 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.006696, allocations: 6.359 kB / 289.7 MB, free: 7.801 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.006814, allocations: 63.77 kB / 289.8 MB, free: 7.738 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.006823, allocations: 7.938 kB / 289.8 MB, free: 7.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.006831, allocations: 0 / 289.8 MB, free: 7.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.006836, allocations: 0 / 289.8 MB, free: 7.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.189e-05/0.006858, allocations: 6.219 kB / 289.8 MB, free: 7.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002147/0.007073, allocations: 179.2 kB / 290 MB, free: 7.555 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.215e-05/0.007165, allocations: 78.7 kB / 290 MB, free: 7.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.318e-05/0.007188, allocations: 19.25 kB / 290.1 MB, free: 7.465 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.007201, allocations: 1.25 kB / 290.1 MB, free: 7.465 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/0.007307, allocations: 65.11 kB / 290.1 MB, free: 7.398 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.007308, allocations: 4 kB / 290.1 MB, free: 7.395 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003295/0.007637, allocations: 114.9 kB / 290.2 MB, free: 7.328 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.007667, allocations: 56.75 kB / 290.3 MB, free: 7.262 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.007792, allocations: 197.2 kB / 290.5 MB, free: 7.102 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.007808, allocations: 29.69 kB / 290.5 MB, free: 7.066 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.007841, allocations: 90.53 kB / 290.6 MB, free: 6.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.007871, allocations: 31.52 kB / 290.6 MB, free: 6.953 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.007911, allocations: 20.31 kB / 290.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.508e-05/0.007996, allocations: 326.1 kB / 291 MB, free: 6.609 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/0.008019, allocations: 13.44 kB / 291 MB, free: 6.602 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.008046, allocations: 27.69 kB / 291 MB, free: 6.578 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.876e-05/0.008095, allocations: 47.44 kB / 291.1 MB, free: 6.543 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.008096, allocations: 3.938 kB / 291.1 MB, free: 6.539 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.636e-05/0.008182, allocations: 72.22 kB / 291.1 MB, free: 6.488 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.008198, allocations: 6.5 kB / 291.1 MB, free: 6.488 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.008203, allocations: 0.9688 kB / 291.1 MB, free: 6.488 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.008217, allocations: 1.062 kB / 291.1 MB, free: 6.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.395e-05/0.008301, allocations: 26.02 kB / 291.2 MB, free: 6.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.008304, allocations: 5.219 kB / 291.2 MB, free: 6.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.909e-05/0.008333, allocations: 2.406 kB / 291.2 MB, free: 6.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.008339, allocations: 2.375 kB / 291.2 MB, free: 6.473 MB / 282.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 7.401e-05/0.008413, allocations: 115.1 kB / 291.3 MB, free: 6.352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.008429, allocations: 14.27 kB / 291.3 MB, free: 6.344 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.008554, allocations: 81.12 kB / 291.4 MB, free: 6.289 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.008557, allocations: 1.594 kB / 291.4 MB, free: 6.289 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.00856, allocations: 3.984 kB / 291.4 MB, free: 6.285 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.008564, allocations: 0 / 291.4 MB, free: 6.285 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.008805, allocations: 290.6 kB / 291.7 MB, free: 6.016 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.008808, allocations: 1.219 kB / 291.7 MB, free: 6.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.008846, allocations: 14.19 kB / 291.7 MB, free: 6.012 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.604e-05/0.008862, allocations: 15.86 kB / 291.7 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.008865, allocations: 1.406 kB / 291.7 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.008875, allocations: 5.453 kB / 291.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.008878, allocations: 0 / 291.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.00888, allocations: 1.281 kB / 291.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.008998, allocations: 215.8 kB / 291.9 MB, free: 5.793 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.009017, allocations: 6.781 kB / 291.9 MB, free: 5.789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.354e-05/0.009061, allocations: 5.172 kB / 291.9 MB, free: 5.785 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.009087, allocations: 11.45 kB / 292 MB, free: 5.777 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.0091, allocations: 2.375 kB / 292 MB, free: 5.777 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.912e-05/0.00916, allocations: 57.45 kB / 292 MB, free: 5.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00916, allocations: 0 / 292 MB, free: 5.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000152/0.009312, allocations: 24.78 kB / 292 MB, free: 5.742 MB / 282.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.001482/0.01079, allocations: 0.6452 MB / 292.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.01091, allocations: 44.33 kB / 292.7 MB, free: 5.508 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/0.01092, allocations: 6.734 kB / 292.7 MB, free: 5.504 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.884e-05/0.01095, allocations: 25.3 kB / 292.8 MB, free: 5.492 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.01121, allocations: 183.7 kB / 292.9 MB, free: 5.309 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005469/0.01175, allocations: 242.9 kB / 293.2 MB, free: 5.102 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.932e-05/0.01181, allocations: 74.08 kB / 293.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.135e-05/0.01185, allocations: 13.2 kB / 293.3 MB, free: 5.016 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.702e-05/0.01192, allocations: 67.88 kB / 293.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of SimCode: time 1.252e-06/0.01192, allocations: 0 / 293.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of Templates: time 0.004312/0.01623, allocations: 2.034 MB / 295.4 MB, free: 3.754 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.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.9765989603474736]