Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000866/0.000866, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001241/0.002107, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009437/0.0009437, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001653/0.002596, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.059/1.059, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1203/1.179, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2646/0.2646, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02897/0.2936, allocations: 13.1 MB / 291.5 MB, free: 7.328 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 292.9 MB, free: 6.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.619e-05, allocations: 3.016 kB / 292.9 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002734/0.002761, allocations: 1.805 MB / 294.7 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.003969, allocations: 1.022 MB / 295.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.184e-05/0.004031, allocations: 3.938 kB / 295.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.004193, allocations: 43.64 kB / 295.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.004376, allocations: 95.47 kB / 295.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.004503, allocations: 83.55 kB / 296 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.00464, allocations: 103.6 kB / 296.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.779e-05/0.004708, allocations: 11.97 kB / 296.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.004815, allocations: 79.83 kB / 296.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.858e-05/0.004884, allocations: 31.89 kB / 296.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.004897, allocations: 4 kB / 296.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.163e-05/0.004969, allocations: 47.86 kB / 296.2 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.007e-05/0.005009, allocations: 15.94 kB / 296.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.005037, allocations: 15.94 kB / 296.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.00518, allocations: 95.61 kB / 296.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.545e-05/0.005196, allocations: 0 / 296.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005196, allocations: 0 / 296.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.00521, allocations: 0 / 296.4 MB, free: 2.637 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.0003895/0.0056, allocations: 349 kB / 296.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.659e-05/0.005626, allocations: 8.031 kB / 296.7 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.005657, allocations: 8.922 kB / 296.7 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.005794, allocations: 146.3 kB / 296.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.005808, allocations: 4.375 kB / 296.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.005825, allocations: 4.375 kB / 296.9 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.283e-05/0.005918, allocations: 61.77 kB / 296.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.005926, allocations: 3.938 kB / 296.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.005933, allocations: 3.984 kB / 296.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.005939, allocations: 4 kB / 297 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.118e-05/0.00596, allocations: 11.94 kB / 297 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.006137, allocations: 165.9 kB / 297.1 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.23e-05/0.006229, allocations: 89.36 kB / 297.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.006246, allocations: 12.8 kB / 297.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.006261, allocations: 0 / 297.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/0.006362, allocations: 74.06 kB / 297.3 MB, free: 1.609 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.72e-07/0.006363, allocations: 0 / 297.3 MB, free: 1.609 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002758/0.006639, allocations: 113.5 kB / 297.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.006669, allocations: 59.39 kB / 297.5 MB, free: 1.422 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.006773, allocations: 181.3 kB / 297.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.006789, allocations: 25.7 kB / 297.7 MB, free: 1.199 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.006822, allocations: 100.1 kB / 297.8 MB, free: 1.098 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.006845, allocations: 19.86 kB / 297.8 MB, free: 1.078 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.006874, allocations: 25.69 kB / 297.8 MB, free: 1.047 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.372e-05/0.006957, allocations: 326.8 kB / 298.1 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.006972, allocations: 10.83 kB / 298.1 MB, free: 0.707 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.102e-05/0.006993, allocations: 21.7 kB / 298.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.305e-05/0.007046, allocations: 44.45 kB / 298.2 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.007047, allocations: 4 kB / 298.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.054e-05/0.007128, allocations: 76.48 kB / 298.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.007139, allocations: 4 kB / 298.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.007142, allocations: 0 / 298.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.007156, allocations: 7.938 kB / 298.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.555e-05/0.007221, allocations: 15.98 kB / 298.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.007225, allocations: 0 / 298.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.909e-05/0.007254, allocations: 8 kB / 298.3 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.007259, allocations: 0 / 298.3 MB, free: 0.5078 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 6.088e-05/0.00732, allocations: 124.6 kB / 298.4 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.007334, allocations: 15.92 kB / 298.5 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.986e-05/0.007434, allocations: 79.06 kB / 298.5 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.007435, allocations: 0 / 298.5 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.007436, allocations: 0 / 298.5 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.00744, allocations: 4 kB / 298.5 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.007652, allocations: 295.4 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.007654, allocations: 0 / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.812e-05/0.007682, allocations: 12 kB / 298.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.007693, allocations: 12.31 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.007695, allocations: 4.031 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.007701, allocations: 7.938 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.007703, allocations: 7.938 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.007705, allocations: 3.938 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.241e-05/0.007797, allocations: 207.1 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.007813, allocations: 7.984 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.727e-05/0.007851, allocations: 4 kB / 299.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.007876, allocations: 7.984 kB / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.007886, allocations: 7.938 kB / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.945e-05/0.007925, allocations: 47.64 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007925, allocations: 4 kB / 299.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000135/0.00806, allocations: 24 kB / 299.2 MB, free: 15.58 MB / 298.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.001438/0.009499, allocations: 0.6418 MB / 299.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.194e-05/0.009591, allocations: 40.83 kB / 299.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.009596, allocations: 4 kB / 299.9 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.535e-05/0.009642, allocations: 36.7 kB / 299.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.009891, allocations: 180.4 kB / 300.1 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004498/0.01034, allocations: 223.7 kB / 300.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.903e-05/0.01038, allocations: 63.34 kB / 300.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.709e-05/0.01042, allocations: 21.16 kB / 300.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.881e-05/0.01049, allocations: 71.34 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of SimCode: time 9.21e-07/0.01049, allocations: 0 / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of Templates: time 0.003571/0.01406, allocations: 2.042 MB / 302.5 MB, free: 12.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.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.8463232312351465]