Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.0008105/0.0008105, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001107/0.001918, 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.0007385/0.0007385, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001386/0.002124, 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.9869/0.9869, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1932/1.18, allocations: 49.51 MB / 220.5 MB, free: 5.27 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.142/0.142, allocations: 32.35 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02284/0.1648, allocations: 12.29 MB / 265.9 MB, free: 7.832 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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.52e-07/8.52e-07, allocations: 3.938 kB / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.057e-05, allocations: 6.25 kB / 267.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002198/0.002219, allocations: 1.77 MB / 269.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.003229, allocations: 0.8114 MB / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.329e-05/0.003312, allocations: 0 / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.003531, allocations: 47.7 kB / 269.9 MB, free: 3.793 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.003687, allocations: 55.69 kB / 270 MB, free: 3.738 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.003908, allocations: 83.7 kB / 270.1 MB, free: 3.656 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.004072, allocations: 99.58 kB / 270.2 MB, free: 3.559 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.808e-05/0.00416, allocations: 8.234 kB / 270.2 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.004283, allocations: 75.88 kB / 270.2 MB, free: 3.477 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.444e-05/0.004357, allocations: 19.92 kB / 270.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.004376, allocations: 4 kB / 270.3 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.303e-05/0.004459, allocations: 43.91 kB / 270.3 MB, free: 3.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.571e-05/0.004505, allocations: 27.86 kB / 270.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.004538, allocations: 15.94 kB / 270.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.004691, allocations: 87.62 kB / 270.4 MB, free: 3.281 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.58e-05/0.004707, allocations: 4 kB / 270.4 MB, free: 3.277 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004708, allocations: 0 / 270.4 MB, free: 3.277 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.004723, allocations: 0 / 270.4 MB, free: 3.277 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.0004719/0.005195, allocations: 327.9 kB / 270.8 MB, free: 2.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.005229, allocations: 12.03 kB / 270.8 MB, free: 2.922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.005264, allocations: 8.922 kB / 270.8 MB, free: 2.914 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.005435, allocations: 145.5 kB / 270.9 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.005453, allocations: 4.375 kB / 270.9 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.005472, allocations: 384 / 270.9 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.005597, allocations: 69.7 kB / 271 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.005608, allocations: 7.875 kB / 271 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.005616, allocations: 0 / 271 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.005622, allocations: 0 / 271 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.283e-05/0.005655, allocations: 11.98 kB / 271 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002332/0.005888, allocations: 170 kB / 271.2 MB, free: 2.461 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.005993, allocations: 93.22 kB / 271.3 MB, free: 2.359 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.242e-05/0.006015, allocations: 12.86 kB / 271.3 MB, free: 2.344 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.006029, allocations: 0 / 271.3 MB, free: 2.344 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/0.006141, allocations: 70.16 kB / 271.3 MB, free: 2.262 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.006142, allocations: 0 / 271.3 MB, free: 2.262 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002921/0.006434, allocations: 113.5 kB / 271.5 MB, free: 2.145 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.006464, allocations: 51.41 kB / 271.5 MB, free: 2.082 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.006566, allocations: 168.3 kB / 271.7 MB, free: 1.902 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.00658, allocations: 25.7 kB / 271.7 MB, free: 1.871 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.006614, allocations: 100.1 kB / 271.8 MB, free: 1.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.006638, allocations: 23.84 kB / 271.8 MB, free: 1.746 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.00667, allocations: 21.7 kB / 271.8 MB, free: 1.719 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.758e-05/0.006748, allocations: 326.8 kB / 272.2 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.006762, allocations: 10.83 kB / 272.2 MB, free: 1.379 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.479e-05/0.006787, allocations: 25.64 kB / 272.2 MB, free: 1.348 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.009e-05/0.006827, allocations: 44.58 kB / 272.2 MB, free: 1.297 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.006828, allocations: 0 / 272.2 MB, free: 1.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.912e-05/0.006897, allocations: 76.38 kB / 272.3 MB, free: 1.215 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.006908, allocations: 4 kB / 272.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.006912, allocations: 0 / 272.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.156e-06/0.00692, allocations: 0 / 272.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.301e-05/0.006983, allocations: 23.98 kB / 272.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.006986, allocations: 0 / 272.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/0.007011, allocations: 7.938 kB / 272.3 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.007016, allocations: 0 / 272.3 MB, free: 1.18 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.992e-05/0.007086, allocations: 128.6 kB / 272.5 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.0071, allocations: 15.97 kB / 272.5 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.212e-05/0.007192, allocations: 74.44 kB / 272.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.007193, allocations: 0 / 272.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.007195, allocations: 0 / 272.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.007198, allocations: 0 / 272.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.0074, allocations: 295.4 kB / 272.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.007402, allocations: 0 / 272.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.044e-05/0.007433, allocations: 15.92 kB / 272.9 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.007444, allocations: 11.91 kB / 272.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.007449, allocations: 4 kB / 272.9 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.007455, allocations: 8.031 kB / 272.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.007456, allocations: 0 / 272.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.007457, allocations: 0 / 272.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.00756, allocations: 215 kB / 273.1 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.007578, allocations: 8.359 kB / 273.1 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.501e-05/0.007613, allocations: 4 kB / 273.1 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.007637, allocations: 3.984 kB / 273.1 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.007649, allocations: 8 kB / 273.1 MB, free: 352 kB / 266.7 MB Notification: Performance of sorting global known variables: time 3.733e-05/0.007687, allocations: 44.53 kB / 273.2 MB, free: 304 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007687, allocations: 0 / 273.2 MB, free: 304 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001414/0.007828, allocations: 23.98 kB / 273.2 MB, free: 280 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.00138/0.009208, allocations: 0.6361 MB / 273.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.009312, allocations: 48.77 kB / 273.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.607e-06/0.00932, allocations: 4 kB / 273.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.065e-05/0.009351, allocations: 24.78 kB / 273.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.009535, allocations: 51.75 kB / 274 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004342/0.009969, allocations: 218.6 kB / 274.2 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.282e-05/0.01001, allocations: 63.34 kB / 274.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.504e-05/0.01005, allocations: 16.47 kB / 274.2 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.063e-05/0.01011, allocations: 71.48 kB / 274.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of SimCode: time 1.113e-06/0.01011, allocations: 0 / 274.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of Templates: time 0.003553/0.01366, allocations: 2.025 MB / 276.3 MB, free: 13.05 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.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.9537045005708933]