Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001473/0.001473, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002244/0.003717, 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.001452/0.001452, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001808/0.00326, 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.063/1.063, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1371/1.201, allocations: 53.65 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3587/0.3587, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02494/0.3837, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.465e-05, allocations: 2.312 kB / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002685/0.00271, allocations: 1.725 MB / 292.4 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008312/0.003541, allocations: 0.5563 MB / 292.9 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.279e-05/0.003594, allocations: 0 / 292.9 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.003799, allocations: 99.47 kB / 293 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.004017, allocations: 115.6 kB / 293.1 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.004248, allocations: 95.06 kB / 293.2 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.004432, allocations: 101.5 kB / 293.3 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.828e-05/0.00453, allocations: 23.97 kB / 293.3 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.004652, allocations: 71.88 kB / 293.4 MB, free: 5.496 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.004765, allocations: 55.86 kB / 293.5 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.004783, allocations: 4 kB / 293.5 MB, free: 5.438 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.004887, allocations: 43.92 kB / 293.5 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.004939, allocations: 23.88 kB / 293.5 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.004973, allocations: 15.94 kB / 293.5 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.005171, allocations: 107.5 kB / 293.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-05/0.00519, allocations: 0 / 293.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005191, allocations: 4 kB / 293.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.919e-05/0.00521, allocations: 0 / 293.7 MB, free: 5.246 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004991/0.00571, allocations: 352.4 kB / 294 MB, free: 4.879 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.005751, allocations: 12.62 kB / 294 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.005789, allocations: 8.938 kB / 294 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.00596, allocations: 149.5 kB / 294.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.005972, allocations: 8.375 kB / 294.2 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.005997, allocations: 8.312 kB / 294.2 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.00613, allocations: 71.8 kB / 294.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.006141, allocations: 192 / 294.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.006149, allocations: 4.125 kB / 294.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.006158, allocations: 7.984 kB / 294.3 MB, free: 4.582 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.777e-05/0.006196, allocations: 15.98 kB / 294.3 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.006485, allocations: 199 kB / 294.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.048e-05/0.006555, allocations: 34.56 kB / 294.5 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.386e-05/0.006579, allocations: 21.02 kB / 294.5 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.006606, allocations: 3.938 kB / 294.5 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.00663, allocations: 34.55 kB / 294.6 MB, free: 4.242 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.006631, allocations: 8.109 kB / 294.6 MB, free: 4.234 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006023/0.007233, allocations: 198.7 kB / 294.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.007263, allocations: 55.41 kB / 294.8 MB, free: 3.969 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.007403, allocations: 197 kB / 295 MB, free: 3.758 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.007414, allocations: 25.7 kB / 295 MB, free: 3.727 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.007454, allocations: 104 kB / 295.1 MB, free: 3.621 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.007488, allocations: 43.59 kB / 295.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.00753, allocations: 37.69 kB / 295.2 MB, free: 3.535 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.357e-05/0.007613, allocations: 330.7 kB / 295.5 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.978e-05/0.007633, allocations: 8 kB / 295.6 MB, free: 3.195 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.911e-05/0.007652, allocations: 11.98 kB / 295.6 MB, free: 3.184 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.566e-05/0.007708, allocations: 46.58 kB / 295.6 MB, free: 3.137 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.007709, allocations: 3.938 kB / 295.6 MB, free: 3.133 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.272e-05/0.007802, allocations: 72.17 kB / 295.7 MB, free: 3.059 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.007816, allocations: 4 kB / 295.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.007821, allocations: 4 kB / 295.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.007829, allocations: 0 / 295.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.839e-05/0.007927, allocations: 27.98 kB / 295.7 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.00793, allocations: 4 kB / 295.7 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.608e-05/0.007956, allocations: 7.984 kB / 295.7 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-06/0.007962, allocations: 0 / 295.7 MB, free: 3.012 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.895e-05/0.008031, allocations: 128.5 kB / 295.9 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.008059, allocations: 11.98 kB / 295.9 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.008197, allocations: 91.12 kB / 296 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.008199, allocations: 0 / 296 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.0082, allocations: 0 / 296 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.008205, allocations: 3.984 kB / 296 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.008509, allocations: 303.9 kB / 296.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.008511, allocations: 0 / 296.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.795e-05/0.008579, allocations: 23.98 kB / 296.3 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.26e-05/0.008592, allocations: 11.91 kB / 296.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.008595, allocations: 4 kB / 296.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.008602, allocations: 4 kB / 296.3 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.008604, allocations: 3.938 kB / 296.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008605, allocations: 0 / 296.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.008721, allocations: 184.3 kB / 296.5 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.008735, allocations: 4 kB / 296.5 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.192e-05/0.008787, allocations: 4.031 kB / 296.5 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.008814, allocations: 19.91 kB / 296.5 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.008821, allocations: 8 kB / 296.5 MB, free: 2.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.458e-05/0.008876, allocations: 57.61 kB / 296.6 MB, free: 2.102 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008876, allocations: 0 / 296.6 MB, free: 2.102 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002014/0.009078, allocations: 24 kB / 296.6 MB, free: 2.078 MB / 282.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.001737/0.01081, allocations: 0.6249 MB / 297.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001421/0.01096, allocations: 52.7 kB / 297.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.01097, allocations: 4 kB / 297.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.067e-05/0.01102, allocations: 40.77 kB / 297.3 MB, free: 1.703 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.01127, allocations: 23.97 kB / 297.3 MB, free: 1.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006893/0.01196, allocations: 270.6 kB / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.378e-05/0.01203, allocations: 75.33 kB / 297.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.836e-05/0.0121, allocations: 12.5 kB / 297.7 MB, free: 1.281 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.041e-05/0.01218, allocations: 63.36 kB / 297.8 MB, free: 1.219 MB / 282.7 MB Notification: Performance of SimCode: time 1.353e-06/0.01218, allocations: 0 / 297.8 MB, free: 1.219 MB / 282.7 MB Notification: Performance of Templates: time 0.003919/0.0161, allocations: 1.723 MB / 299.5 MB, free: 15.52 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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.310437466017902]