Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.0008939/0.0008939, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001014/0.001908, 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.0007321/0.0007321, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008519/0.001584, 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 0.9998/0.9998, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1088/1.109, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.2838/0.2838, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0541/0.3379, allocations: 13.09 MB / 291.3 MB, free: 7.371 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 292.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.446e-05, allocations: 2.312 kB / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003509/0.003534, allocations: 1.813 MB / 294.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.005323, allocations: 1.018 MB / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.474e-05/0.005408, allocations: 0 / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.005641, allocations: 63.67 kB / 295.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.005951, allocations: 99.47 kB / 295.7 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.006213, allocations: 71.67 kB / 295.8 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.006413, allocations: 107.6 kB / 295.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.76e-05/0.006501, allocations: 15.92 kB / 295.9 MB, free: 3.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.006667, allocations: 75.89 kB / 296 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.747e-05/0.006755, allocations: 35.77 kB / 296 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.006774, allocations: 4 kB / 296 MB, free: 2.906 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.006877, allocations: 43.92 kB / 296 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.639e-05/0.006933, allocations: 23.94 kB / 296.1 MB, free: 2.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.179e-05/0.006975, allocations: 19.88 kB / 296.1 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.007194, allocations: 111.6 kB / 296.2 MB, free: 2.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.248e-05/0.007207, allocations: 0 / 296.2 MB, free: 2.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.007207, allocations: 0 / 296.2 MB, free: 2.711 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.007218, allocations: 0 / 296.2 MB, free: 2.711 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.0005252/0.007744, allocations: 364.8 kB / 296.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.007782, allocations: 19.97 kB / 296.6 MB, free: 2.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.007823, allocations: 8.922 kB / 296.6 MB, free: 2.305 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.00802, allocations: 158.4 kB / 296.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.008037, allocations: 8.359 kB / 296.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.008056, allocations: 4.375 kB / 296.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.008185, allocations: 65.75 kB / 296.8 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.008194, allocations: 3.938 kB / 296.8 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.008202, allocations: 0 / 296.8 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.008207, allocations: 0 / 296.8 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.454e-05/0.008242, allocations: 8 kB / 296.8 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.008504, allocations: 177.9 kB / 297 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.008617, allocations: 85.28 kB / 297.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.008643, allocations: 12.86 kB / 297.1 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.008656, allocations: 4 kB / 297.1 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.008789, allocations: 66.14 kB / 297.2 MB, free: 1.641 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/0.008791, allocations: 4 kB / 297.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004247/0.009216, allocations: 113.5 kB / 297.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.009258, allocations: 51.41 kB / 297.3 MB, free: 1.457 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.009455, allocations: 217.2 kB / 297.5 MB, free: 1.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.009484, allocations: 25.7 kB / 297.6 MB, free: 1.199 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.009542, allocations: 100.1 kB / 297.7 MB, free: 1.098 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.009585, allocations: 27.83 kB / 297.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.009633, allocations: 21.72 kB / 297.7 MB, free: 1.043 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.009758, allocations: 330.8 kB / 298 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.585e-05/0.009784, allocations: 10.83 kB / 298 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.279e-05/0.009817, allocations: 21.7 kB / 298.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.796e-05/0.009875, allocations: 40.52 kB / 298.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.009876, allocations: 3.938 kB / 298.1 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001143/0.009991, allocations: 88.42 kB / 298.2 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.01001, allocations: 4 kB / 298.2 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.01001, allocations: 0 / 298.2 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.01002, allocations: 4 kB / 298.2 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.122e-05/0.01011, allocations: 19.92 kB / 298.2 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.01012, allocations: 4 kB / 298.2 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.029e-05/0.01016, allocations: 0 / 298.2 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.01017, allocations: 4 kB / 298.2 MB, free: 0.4922 MB / 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 8.017e-05/0.01025, allocations: 116.6 kB / 298.3 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.01027, allocations: 19.95 kB / 298.4 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.01041, allocations: 83.06 kB / 298.4 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01041, allocations: 0 / 298.4 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.01041, allocations: 0 / 298.4 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.01042, allocations: 0 / 298.4 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/0.01073, allocations: 307.4 kB / 298.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01073, allocations: 0 / 298.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.679e-05/0.01078, allocations: 8 kB / 298.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.0108, allocations: 15.91 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.01081, allocations: 0 / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.01081, allocations: 8.391 kB / 298.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01082, allocations: 0 / 298.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.01082, allocations: 8 kB / 298.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.01097, allocations: 215 kB / 299 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.011, allocations: 8 kB / 299 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.236e-05/0.01107, allocations: 3.984 kB / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.0111, allocations: 4 kB / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.01112, allocations: 11.98 kB / 299 MB, free: 15.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.707e-05/0.0112, allocations: 71.75 kB / 299.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0112, allocations: 0 / 299.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002374/0.01144, allocations: 28 kB / 299.1 MB, free: 15.54 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.001489/0.01293, allocations: 0.6418 MB / 299.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.876e-05/0.01303, allocations: 52.7 kB / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.01303, allocations: 0 / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.99e-05/0.01306, allocations: 25 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.01325, allocations: 43.16 kB / 299.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/0.01373, allocations: 272.2 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.328e-05/0.01378, allocations: 71.33 kB / 300.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.731e-05/0.01381, allocations: 13.09 kB / 300.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/0.01388, allocations: 71.36 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01388, allocations: 0 / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of Templates: time 0.003572/0.01745, allocations: 2.058 MB / 302.4 MB, free: 12.62 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.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.876753686927259]