Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001194/0.001194, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001971/0.003165, 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.001202/0.001202, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001363/0.002565, 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.075/1.075, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09213/1.167, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.2704/0.2704, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02505/0.2954, allocations: 13.11 MB / 291.5 MB, free: 7.34 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 292.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.791e-05, allocations: 3.859 kB / 292.9 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.0021/0.002117, allocations: 1.904 MB / 294.8 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.003339, allocations: 1.097 MB / 295.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.136e-05/0.00341, allocations: 3.938 kB / 295.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.003736, allocations: 307 kB / 296.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.00404, allocations: 259 kB / 296.5 MB, free: 2.562 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.00419, allocations: 111.5 kB / 296.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.004444, allocations: 267.2 kB / 296.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.00449, allocations: 6.469 kB / 296.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.004697, allocations: 224.2 kB / 297.1 MB, free: 1.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.004853, allocations: 175.6 kB / 297.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.004874, allocations: 4 kB / 297.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.534e-05/0.004959, allocations: 47.92 kB / 297.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.005059, allocations: 136.1 kB / 297.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.485e-05/0.005114, allocations: 55.69 kB / 297.5 MB, free: 1.555 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.005357, allocations: 282.9 kB / 297.8 MB, free: 1.277 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.142e-05/0.005368, allocations: 0 / 297.8 MB, free: 1.277 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005369, allocations: 0 / 297.8 MB, free: 1.277 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.005379, allocations: 0 / 297.8 MB, free: 1.277 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006148/0.005993, allocations: 0.6974 MB / 298.4 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.006022, allocations: 16.62 kB / 298.5 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.006066, allocations: 24.91 kB / 298.5 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.006331, allocations: 313.8 kB / 298.8 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.006348, allocations: 384 / 298.8 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.006361, allocations: 4.375 kB / 298.8 MB, free: 180 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.006488, allocations: 87.45 kB / 298.9 MB, free: 76 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.006497, allocations: 3.938 kB / 298.9 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.006504, allocations: 0 / 298.9 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.006511, allocations: 4 kB / 298.9 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.28e-05/0.006543, allocations: 29.58 kB / 298.9 MB, free: 36 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.006676, allocations: 114.4 kB / 299 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.00678, allocations: 74.77 kB / 299.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/0.006807, allocations: 25.7 kB / 299.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.006818, allocations: 4 kB / 299.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/0.006936, allocations: 99.83 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.864e-06/0.006938, allocations: 4 kB / 299.2 MB, free: 15.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001621/0.0071, allocations: 115.2 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/0.007165, allocations: 81.05 kB / 299.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003737/0.007538, allocations: 0.6024 MB / 300 MB, free: 14.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.007555, allocations: 25.7 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.007609, allocations: 153.3 kB / 300.2 MB, free: 14.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.007645, allocations: 31.77 kB / 300.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.007676, allocations: 25.66 kB / 300.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.099e-05/0.007767, allocations: 374.7 kB / 300.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.368e-05/0.007791, allocations: 10.83 kB / 300.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.17e-05/0.007823, allocations: 47.97 kB / 300.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.082e-05/0.007884, allocations: 72.31 kB / 300.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.007886, allocations: 0 / 300.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.9e-05/0.007985, allocations: 107.2 kB / 300.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.007996, allocations: 4 kB / 300.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.008, allocations: 0 / 300.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.008015, allocations: 4 kB / 300.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.115e-05/0.008106, allocations: 35.86 kB / 300.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.008109, allocations: 4.062 kB / 300.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.984e-05/0.008159, allocations: 7.953 kB / 300.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.008167, allocations: 7.984 kB / 300.9 MB, free: 13.86 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.01e-05/0.008247, allocations: 125.5 kB / 301 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.008272, allocations: 27.97 kB / 301.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.008402, allocations: 125.9 kB / 301.2 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.008404, allocations: 4 kB / 301.2 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.008406, allocations: 3.938 kB / 301.2 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.00841, allocations: 0 / 301.2 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.008535, allocations: 169.7 kB / 301.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.008538, allocations: 4.25 kB / 301.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.132e-05/0.008569, allocations: 12 kB / 301.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.008611, allocations: 51.66 kB / 301.4 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.008615, allocations: 4 kB / 301.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.008625, allocations: 7.984 kB / 301.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.008628, allocations: 3.938 kB / 301.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.008631, allocations: 3.938 kB / 301.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.008751, allocations: 135.9 kB / 301.6 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.00878, allocations: 7.984 kB / 301.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.558e-05/0.008826, allocations: 8 kB / 301.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.008858, allocations: 11.98 kB / 301.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.008873, allocations: 7.938 kB / 301.6 MB, free: 13.1 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002244/0.009097, allocations: 319.2 kB / 301.9 MB, free: 12.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009098, allocations: 0 / 301.9 MB, free: 12.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001584/0.009256, allocations: 47.94 kB / 302 MB, free: 12.74 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001306/0.01056, allocations: 0.5657 MB / 302.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.01067, allocations: 56.78 kB / 302.6 MB, free: 12.42 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.01068, allocations: 4 kB / 302.6 MB, free: 12.42 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.658e-05/0.01072, allocations: 40.77 kB / 302.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.01104, allocations: 396.3 kB / 303 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000757/0.0118, allocations: 0.6616 MB / 303.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.054e-05/0.01187, allocations: 136.2 kB / 303.8 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.807e-05/0.01193, allocations: 47.7 kB / 303.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.01204, allocations: 95.34 kB / 304 MB, free: 10.94 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01204, allocations: 0 / 304 MB, free: 10.94 MB / 298.7 MB Notification: Performance of Templates: time 0.006618/0.01866, allocations: 4.371 MB / 308.3 MB, free: 6.652 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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.019623478874564]