Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.0008113/0.0008113, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001132/0.001944, allocations: 447.8 kB / 10.35 MB, free: 348 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.0007332/0.0007332, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001048/0.001781, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9494/0.9494, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2258/1.175, allocations: 49.5 MB / 220.5 MB, free: 5.273 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1294/0.1294, allocations: 32.34 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0211/0.1505, allocations: 12.3 MB / 265.9 MB, free: 7.824 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.278e-05, allocations: 2.312 kB / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002223/0.002246, allocations: 1.77 MB / 269.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.003277, allocations: 0.8114 MB / 269.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.309e-05/0.00335, allocations: 0 / 269.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.003607, allocations: 87.58 kB / 270 MB, free: 3.758 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.003785, allocations: 87.64 kB / 270 MB, free: 3.672 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.004056, allocations: 87.69 kB / 270.1 MB, free: 3.586 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.004264, allocations: 103.6 kB / 270.2 MB, free: 3.484 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.004374, allocations: 8.172 kB / 270.2 MB, free: 3.477 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.004521, allocations: 91.8 kB / 270.3 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.00463, allocations: 47.88 kB / 270.4 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.004654, allocations: 4 kB / 270.4 MB, free: 3.336 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.004759, allocations: 47.86 kB / 270.4 MB, free: 3.289 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.69e-05/0.004806, allocations: 19.94 kB / 270.4 MB, free: 3.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.004847, allocations: 15.88 kB / 270.5 MB, free: 3.254 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.005005, allocations: 99.66 kB / 270.6 MB, free: 3.156 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.791e-05/0.005023, allocations: 0 / 270.6 MB, free: 3.156 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.005024, allocations: 0 / 270.6 MB, free: 3.156 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.005042, allocations: 0 / 270.6 MB, free: 3.156 MB / 266.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.0004768/0.005519, allocations: 343.8 kB / 270.9 MB, free: 2.797 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.005552, allocations: 8.031 kB / 270.9 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.005589, allocations: 8.922 kB / 270.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.005762, allocations: 145.6 kB / 271.1 MB, free: 2.613 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.00578, allocations: 4.312 kB / 271.1 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.0058, allocations: 4.375 kB / 271.1 MB, free: 2.605 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.005932, allocations: 69.77 kB / 271.1 MB, free: 2.527 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.005945, allocations: 3.938 kB / 271.1 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.005955, allocations: 0 / 271.1 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.005964, allocations: 4 kB / 271.1 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.467e-05/0.005998, allocations: 7.984 kB / 271.1 MB, free: 2.512 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002327/0.006231, allocations: 177.9 kB / 271.3 MB, free: 2.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.458e-05/0.006326, allocations: 85.28 kB / 271.4 MB, free: 2.227 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.986e-05/0.006346, allocations: 8.859 kB / 271.4 MB, free: 2.215 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.00636, allocations: 4 kB / 271.4 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.006469, allocations: 70.16 kB / 271.5 MB, free: 2.129 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.00647, allocations: 4 kB / 271.5 MB, free: 2.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003242/0.006794, allocations: 101.6 kB / 271.6 MB, free: 2.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.006831, allocations: 55.41 kB / 271.6 MB, free: 1.953 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.00694, allocations: 184.2 kB / 271.8 MB, free: 1.758 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.006954, allocations: 25.7 kB / 271.8 MB, free: 1.727 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.006986, allocations: 96.08 kB / 271.9 MB, free: 1.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.007014, allocations: 27.77 kB / 272 MB, free: 1.602 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.007044, allocations: 21.72 kB / 272 MB, free: 1.574 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.007121, allocations: 330.7 kB / 272.3 MB, free: 1.242 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.007139, allocations: 18.81 kB / 272.3 MB, free: 1.223 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/0.007161, allocations: 21.7 kB / 272.4 MB, free: 1.195 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.128e-05/0.007203, allocations: 44.58 kB / 272.4 MB, free: 1.145 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.007204, allocations: 0 / 272.4 MB, free: 1.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.52e-05/0.007279, allocations: 80.36 kB / 272.5 MB, free: 1.059 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.00729, allocations: 4 kB / 272.5 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.007295, allocations: 0 / 272.5 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.007303, allocations: 4 kB / 272.5 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.858e-05/0.007372, allocations: 15.98 kB / 272.5 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.007376, allocations: 7.969 kB / 272.5 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.007403, allocations: 4 kB / 272.5 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.007408, allocations: 0 / 272.5 MB, free: 1.023 MB / 266.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.511e-05/0.007473, allocations: 120.7 kB / 272.6 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.007487, allocations: 15.92 kB / 272.6 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.877e-05/0.007586, allocations: 75.08 kB / 272.7 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.007588, allocations: 3.938 kB / 272.7 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.00759, allocations: 0 / 272.7 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.007594, allocations: 7.984 kB / 272.7 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.007815, allocations: 291.4 kB / 273 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.007817, allocations: 0 / 273 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/0.007847, allocations: 12 kB / 273 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.007858, allocations: 11.91 kB / 273 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.007861, allocations: 0 / 273 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/0.007868, allocations: 7.984 kB / 273 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.00787, allocations: 0 / 273 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.007871, allocations: 0 / 273 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.007972, allocations: 219 kB / 273.3 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.007987, allocations: 4.375 kB / 273.3 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.834e-05/0.008025, allocations: 8.016 kB / 273.3 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.008049, allocations: 8 kB / 273.3 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.008061, allocations: 11.98 kB / 273.3 MB, free: 188 kB / 266.7 MB Notification: Performance of sorting global known variables: time 4.17e-05/0.008103, allocations: 51.66 kB / 273.3 MB, free: 132 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008103, allocations: 0 / 273.3 MB, free: 132 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001416/0.008245, allocations: 23.92 kB / 273.4 MB, free: 108 kB / 266.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.001359/0.009603, allocations: 0.6438 MB / 274 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001078/0.009711, allocations: 44.83 kB / 274 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.00972, allocations: 4 kB / 274.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.782e-05/0.009747, allocations: 24.78 kB / 274.1 MB, free: 15.37 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.009929, allocations: 47.75 kB / 274.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.0104, allocations: 230.3 kB / 274.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.3e-05/0.01044, allocations: 71.33 kB / 274.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.326e-05/0.01047, allocations: 8.5 kB / 274.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.131e-05/0.01053, allocations: 67.36 kB / 274.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01054, allocations: 7.875 kB / 274.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of Templates: time 0.003464/0.014, allocations: 2.028 MB / 276.5 MB, free: 12.87 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9937760196626186]