Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.001089/0.001089, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001562/0.002651, allocations: 449.7 kB / 10.37 MB, free: 328 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.001107/0.001107, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00133/0.002437, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.099/1.099, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09108/1.19, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.2531/0.2531, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03158/0.2847, allocations: 13.09 MB / 291.3 MB, free: 7.375 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 292.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.825e-05, allocations: 4.844 kB / 292.7 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002796/0.002814, allocations: 1.809 MB / 294.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.005364, allocations: 1.754 MB / 296.3 MB, free: 2.625 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.299e-05/0.005447, allocations: 4 kB / 296.3 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.005675, allocations: 31.77 kB / 296.3 MB, free: 2.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.005969, allocations: 103.3 kB / 296.4 MB, free: 2.488 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.006184, allocations: 83.66 kB / 296.5 MB, free: 2.406 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.006378, allocations: 107.6 kB / 296.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.597e-05/0.006474, allocations: 15.97 kB / 296.6 MB, free: 2.285 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.00663, allocations: 75.81 kB / 296.7 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.0068, allocations: 39.89 kB / 296.7 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.006825, allocations: 4 kB / 296.7 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002981/0.007123, allocations: 115.8 kB / 296.8 MB, free: 2.055 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.396e-05/0.007197, allocations: 11.94 kB / 296.9 MB, free: 2.043 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.21e-05/0.007249, allocations: 15.94 kB / 296.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.00761, allocations: 147.5 kB / 297 MB, free: 1.883 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.713e-05/0.007637, allocations: 0 / 297 MB, free: 1.883 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.007639, allocations: 0 / 297 MB, free: 1.883 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.818e-05/0.007667, allocations: 0 / 297 MB, free: 1.883 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.0008274/0.008495, allocations: 356.9 kB / 297.4 MB, free: 1.512 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.008537, allocations: 8.031 kB / 297.4 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.008588, allocations: 8.922 kB / 297.4 MB, free: 1.496 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.008824, allocations: 146.2 kB / 297.5 MB, free: 1.328 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.008843, allocations: 384 / 297.5 MB, free: 1.328 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.008866, allocations: 8.359 kB / 297.5 MB, free: 1.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.009043, allocations: 108.5 kB / 297.6 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.009056, allocations: 3.984 kB / 297.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.009065, allocations: 0 / 297.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.009072, allocations: 0 / 297.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.219e-05/0.009114, allocations: 18.7 kB / 297.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.009379, allocations: 162 kB / 297.8 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.009502, allocations: 93.28 kB / 297.9 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.166e-05/0.009534, allocations: 24.78 kB / 297.9 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.009549, allocations: 0 / 297.9 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/0.009678, allocations: 66.16 kB / 298 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.009679, allocations: 0 / 298 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003783/0.01006, allocations: 113.5 kB / 298.1 MB, free: 0.668 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.01009, allocations: 51.41 kB / 298.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.01023, allocations: 162.6 kB / 298.3 MB, free: 444 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.01025, allocations: 29.7 kB / 298.3 MB, free: 408 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.01029, allocations: 92.12 kB / 298.4 MB, free: 312 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.01033, allocations: 31.78 kB / 298.5 MB, free: 280 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.01037, allocations: 21.7 kB / 298.5 MB, free: 252 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.0105, allocations: 322.8 kB / 298.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.278e-05/0.01052, allocations: 10.83 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.754e-05/0.01057, allocations: 56.25 kB / 298.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.877e-05/0.01063, allocations: 44.41 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.01063, allocations: 0 / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001101/0.01074, allocations: 68.56 kB / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.01075, allocations: 11.98 kB / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.01076, allocations: 8 kB / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.01077, allocations: 0 / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.658e-05/0.01085, allocations: 16 kB / 299 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.01086, allocations: 4 kB / 299 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.255e-05/0.01091, allocations: 7.938 kB / 299 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.01092, allocations: 4 kB / 299 MB, free: 15.66 MB / 298.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 8.046e-05/0.011, allocations: 124.6 kB / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.01102, allocations: 7.984 kB / 299.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.01115, allocations: 74.39 kB / 299.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.01115, allocations: 4 kB / 299.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.01116, allocations: 4 kB / 299.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01116, allocations: 0 / 299.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.01145, allocations: 287.4 kB / 299.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.01145, allocations: 0 / 299.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.497e-05/0.0115, allocations: 12 kB / 299.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.01152, allocations: 16.27 kB / 299.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.01152, allocations: 0 / 299.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.01153, allocations: 3.984 kB / 299.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.01153, allocations: 8 kB / 299.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01153, allocations: 7.969 kB / 299.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.01169, allocations: 215 kB / 299.8 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.01171, allocations: 8 kB / 299.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.01178, allocations: 0 / 299.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.01181, allocations: 11.92 kB / 299.8 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.01183, allocations: 4 kB / 299.8 MB, free: 14.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.39e-05/0.01188, allocations: 42.7 kB / 299.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01188, allocations: 0 / 299.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002795/0.01216, allocations: 51.8 kB / 299.9 MB, free: 14.73 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.002363/0.01453, allocations: 0.7782 MB / 300.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.01464, allocations: 40.78 kB / 300.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/0.01465, allocations: 4 kB / 300.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.865e-05/0.01469, allocations: 32.89 kB / 300.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.01495, allocations: 51.66 kB / 300.8 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005984/0.01555, allocations: 203.6 kB / 301 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.042e-05/0.0156, allocations: 63.34 kB / 301.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.774e-05/0.01566, allocations: 17.27 kB / 301.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003125/0.01878, allocations: 75.34 kB / 301.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of SimCode: time 1.373e-06/0.01878, allocations: 0 / 301.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of Templates: time 0.006315/0.0251, allocations: 2.817 MB / 304 MB, free: 11.05 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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: 3.0669785365462303]