Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.0009761/0.0009761, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00133/0.002306, 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.0006961/0.0006961, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001042/0.001738, 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.017/1.017, allocations: 173.4 MB / 185.9 MB, free: 8.922 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09883/1.116, 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.1477/0.1477, allocations: 32.81 MB / 272 MB, free: 2.965 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1606/0.3083, 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 285.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.194e-05, allocations: 6.359 kB / 285.9 MB, free: 10.76 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.0032/0.003222, allocations: 1.785 MB / 287.7 MB, free: 9.309 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.004606, allocations: 0.8747 MB / 288.6 MB, free: 8.648 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.608e-05/0.004702, allocations: 1.125 kB / 288.6 MB, free: 8.648 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.004948, allocations: 41.94 kB / 288.6 MB, free: 8.617 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.005127, allocations: 53.83 kB / 288.7 MB, free: 8.578 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.00555, allocations: 116.5 kB / 288.8 MB, free: 8.496 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.005768, allocations: 95.78 kB / 288.9 MB, free: 8.441 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.005872, allocations: 16.59 kB / 288.9 MB, free: 8.426 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.006022, allocations: 69.55 kB / 289 MB, free: 8.387 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.556e-05/0.006117, allocations: 26.16 kB / 289 MB, free: 8.371 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.006137, allocations: 4.25 kB / 289 MB, free: 8.371 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.006258, allocations: 46.14 kB / 289 MB, free: 8.352 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.527e-05/0.006323, allocations: 18.97 kB / 289.1 MB, free: 8.344 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/0.006366, allocations: 10.81 kB / 289.1 MB, free: 8.344 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.006576, allocations: 99.62 kB / 289.2 MB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.387e-05/0.00659, allocations: 0 / 289.2 MB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006591, allocations: 4 kB / 289.2 MB, free: 8.285 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.006604, 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.0004653/0.00707, allocations: 328 kB / 289.5 MB, free: 7.984 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.007106, allocations: 17.47 kB / 289.5 MB, free: 7.977 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.007143, allocations: 4.938 kB / 289.5 MB, free: 7.977 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.007313, allocations: 151.9 kB / 289.7 MB, free: 7.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.00733, allocations: 384 / 289.7 MB, free: 7.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.007352, allocations: 4.375 kB / 289.7 MB, free: 7.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.007477, allocations: 61.77 kB / 289.7 MB, free: 7.758 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.007488, allocations: 3.938 kB / 289.7 MB, free: 7.754 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.007495, allocations: 6 kB / 289.7 MB, free: 7.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.0075, allocations: 3.938 kB / 289.7 MB, free: 7.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.549e-05/0.007526, allocations: 14.11 kB / 289.8 MB, free: 7.738 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002311/0.007757, allocations: 165.5 kB / 289.9 MB, free: 7.574 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.007864, allocations: 86.72 kB / 290 MB, free: 7.496 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.007887, allocations: 11.38 kB / 290 MB, free: 7.484 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.007898, allocations: 1.406 kB / 290 MB, free: 7.484 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.008018, allocations: 69.88 kB / 290.1 MB, free: 7.414 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.664e-06/0.00802, allocations: 0 / 290.1 MB, free: 7.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003485/0.008368, allocations: 113.1 kB / 290.2 MB, free: 7.348 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.008397, allocations: 56.88 kB / 290.3 MB, free: 7.281 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.008514, allocations: 174.7 kB / 290.4 MB, free: 7.133 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.00853, allocations: 25.7 kB / 290.5 MB, free: 7.102 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/0.008564, allocations: 93.95 kB / 290.5 MB, free: 7.012 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.008595, allocations: 23.17 kB / 290.6 MB, free: 6.992 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.008631, allocations: 28.31 kB / 290.6 MB, free: 6.965 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.008727, allocations: 322.2 kB / 290.9 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.423e-05/0.008751, allocations: 9.547 kB / 290.9 MB, free: 6.641 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.246e-05/0.008784, allocations: 26.55 kB / 290.9 MB, free: 6.617 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.865e-05/0.008843, allocations: 47.2 kB / 291 MB, free: 6.582 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.008845, allocations: 1.406 kB / 291 MB, free: 6.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001075/0.008952, allocations: 75.64 kB / 291.1 MB, free: 6.527 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.008967, allocations: 6.406 kB / 291.1 MB, free: 6.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.008972, allocations: 384 / 291.1 MB, free: 6.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.008989, allocations: 1.25 kB / 291.1 MB, free: 6.527 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.798e-05/0.009076, allocations: 22.14 kB / 291.1 MB, free: 6.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.009081, allocations: 5.312 kB / 291.1 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.054e-05/0.009112, allocations: 2.312 kB / 291.1 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.009118, allocations: 5.281 kB / 291.1 MB, free: 6.512 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.663e-05/0.009194, allocations: 120.5 kB / 291.2 MB, free: 6.387 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.009212, allocations: 14.58 kB / 291.2 MB, free: 6.379 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.009337, allocations: 75.02 kB / 291.3 MB, free: 6.328 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.009339, allocations: 0 / 291.3 MB, free: 6.328 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.009342, allocations: 1 kB / 291.3 MB, free: 6.328 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.009346, allocations: 3.984 kB / 291.3 MB, free: 6.324 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.009589, allocations: 290.3 kB / 291.6 MB, free: 6.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.009591, allocations: 0 / 291.6 MB, free: 6.055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.644e-05/0.009628, allocations: 21.66 kB / 291.6 MB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.009642, allocations: 8.109 kB / 291.6 MB, free: 6.039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.009644, allocations: 1.438 kB / 291.6 MB, free: 6.039 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.009653, allocations: 5.266 kB / 291.6 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.009656, allocations: 0 / 291.6 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.009658, allocations: 1.281 kB / 291.6 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.009777, allocations: 215.9 kB / 291.8 MB, free: 5.832 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.009795, allocations: 5.406 kB / 291.9 MB, free: 5.828 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.007e-05/0.009835, allocations: 2.219 kB / 291.9 MB, free: 5.828 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.009863, allocations: 7.547 kB / 291.9 MB, free: 5.824 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.009875, allocations: 6.469 kB / 291.9 MB, free: 5.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.947e-05/0.009925, allocations: 46.86 kB / 291.9 MB, free: 5.793 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009925, allocations: 0.7812 kB / 291.9 MB, free: 5.793 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001586/0.01008, allocations: 29.75 kB / 291.9 MB, free: 5.781 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.001657/0.01174, allocations: 0.6443 MB / 292.6 MB, free: 5.562 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.01186, allocations: 42.89 kB / 292.6 MB, free: 5.543 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.01187, allocations: 2.75 kB / 292.6 MB, free: 5.543 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.113e-05/0.01192, allocations: 33.28 kB / 292.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.01217, allocations: 180 kB / 292.8 MB, free: 5.344 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004862/0.01265, allocations: 218.7 kB / 293.1 MB, free: 5.148 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.626e-05/0.0127, allocations: 72.7 kB / 293.1 MB, free: 5.066 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.074e-05/0.01274, allocations: 9.219 kB / 293.1 MB, free: 5.066 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/0.01281, allocations: 66.48 kB / 293.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01281, allocations: 1.375 kB / 293.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of Templates: time 0.004177/0.01698, allocations: 2.019 MB / 295.2 MB, free: 3.879 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.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.0342814940959215]