Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.0007546/0.0007546, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001158/0.001912, 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.0006867/0.0006867, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008862/0.001573, 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 0.9192/0.9192, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1017/1.021, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.2658/0.2658, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02744/0.2932, allocations: 13.1 MB / 291.5 MB, free: 7.332 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 292.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.167e-05, allocations: 3.406 kB / 292.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002711/0.002733, allocations: 1.807 MB / 294.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.004183, allocations: 1.021 MB / 295.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.137e-05/0.004264, allocations: 0 / 295.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.004477, allocations: 47.59 kB / 295.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.004766, allocations: 107.5 kB / 295.9 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.004999, allocations: 83.55 kB / 296 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.005173, allocations: 103.6 kB / 296.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.75e-05/0.00525, allocations: 4 kB / 296.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.005392, allocations: 91.73 kB / 296.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.781e-05/0.005469, allocations: 23.91 kB / 296.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.005485, allocations: 4 kB / 296.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-05/0.005581, allocations: 39.94 kB / 296.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.05e-05/0.005632, allocations: 23.92 kB / 296.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/0.005671, allocations: 19.88 kB / 296.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.005861, allocations: 111.5 kB / 296.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/0.005873, allocations: 0 / 296.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005874, allocations: 0 / 296.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.005882, allocations: 0 / 296.4 MB, free: 2.617 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.000457/0.006339, allocations: 352.9 kB / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.006372, allocations: 8.031 kB / 296.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.00641, allocations: 8.922 kB / 296.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.006577, allocations: 150.4 kB / 296.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.006592, allocations: 4.375 kB / 296.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.006612, allocations: 8.297 kB / 296.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.006722, allocations: 69.77 kB / 297 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.006731, allocations: 3.938 kB / 297 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.006737, allocations: 0 / 297 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.006743, allocations: 0 / 297 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.468e-05/0.006767, allocations: 8 kB / 297 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/0.006978, allocations: 173.8 kB / 297.2 MB, free: 1.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.483e-05/0.007073, allocations: 85.3 kB / 297.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.071e-05/0.007094, allocations: 16.84 kB / 297.3 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.007106, allocations: 7.984 kB / 297.3 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/0.007209, allocations: 70.14 kB / 297.4 MB, free: 1.566 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.00721, allocations: 0 / 297.4 MB, free: 1.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003053/0.007515, allocations: 109.8 kB / 297.5 MB, free: 1.453 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.007544, allocations: 55.41 kB / 297.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.007684, allocations: 193.6 kB / 297.7 MB, free: 1.184 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.007699, allocations: 29.7 kB / 297.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.007738, allocations: 100.1 kB / 297.8 MB, free: 1.047 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.007766, allocations: 23.75 kB / 297.9 MB, free: 1.023 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.007802, allocations: 25.69 kB / 297.9 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.575e-05/0.007888, allocations: 330.8 kB / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/0.007908, allocations: 10.83 kB / 298.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.789e-05/0.007936, allocations: 29.64 kB / 298.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.807e-05/0.007984, allocations: 40.52 kB / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.007986, allocations: 0 / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.248e-05/0.008078, allocations: 76.44 kB / 298.4 MB, free: 496 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.008091, allocations: 8 kB / 298.4 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.008096, allocations: 0 / 298.4 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.008108, allocations: 3.938 kB / 298.4 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.405e-05/0.008182, allocations: 24.02 kB / 298.4 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.008185, allocations: 0 / 298.4 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/0.008218, allocations: 4 kB / 298.4 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-06/0.008225, allocations: 4 kB / 298.4 MB, free: 452 kB / 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.229e-05/0.008297, allocations: 121.7 kB / 298.5 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.008314, allocations: 11.94 kB / 298.5 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.008426, allocations: 75.12 kB / 298.6 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.008427, allocations: 0 / 298.6 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.008429, allocations: 0 / 298.6 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.008432, allocations: 3.938 kB / 298.6 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.008701, allocations: 303.5 kB / 298.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.008702, allocations: 0 / 298.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.008736, allocations: 15.94 kB / 298.9 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.55e-05/0.008751, allocations: 11.91 kB / 298.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.008753, allocations: 0 / 298.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.008761, allocations: 4 kB / 298.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.008765, allocations: 3.984 kB / 298.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008766, allocations: 0 / 298.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.008894, allocations: 218.9 kB / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.008912, allocations: 4 kB / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.027e-05/0.008972, allocations: 8.031 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.008997, allocations: 7.984 kB / 299.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.009009, allocations: 4 kB / 299.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.453e-05/0.009074, allocations: 65.41 kB / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009074, allocations: 0 / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002132/0.009287, allocations: 23.94 kB / 299.3 MB, free: 15.51 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.001608/0.0109, allocations: 0.6422 MB / 299.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.011, allocations: 52.69 kB / 300 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/0.01101, allocations: 4 kB / 300 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.346e-05/0.01105, allocations: 28.84 kB / 300 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.01133, allocations: 180.6 kB / 300.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.01182, allocations: 242.6 kB / 300.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.714e-05/0.01187, allocations: 75.27 kB / 300.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.075e-05/0.01191, allocations: 12.97 kB / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.394e-05/0.01199, allocations: 71.31 kB / 300.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01199, allocations: 0 / 300.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of Templates: time 0.004253/0.01624, allocations: 2.054 MB / 302.6 MB, free: 12.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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.9031567787751555]