Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.0007605/0.0007605, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001097/0.001857, 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.0007551/0.0007551, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009327/0.001688, 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.9833/0.9833, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1018/1.085, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.2746/0.2746, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02825/0.3028, allocations: 13.1 MB / 291.3 MB, free: 7.367 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.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 292.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.626e-05, allocations: 7.078 kB / 292.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002792/0.002808, allocations: 1.685 MB / 294.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.004597, allocations: 1.321 MB / 295.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.256e-05/0.004659, allocations: 0 / 295.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.004808, allocations: 23.78 kB / 295.7 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.005064, allocations: 79.56 kB / 295.7 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.005371, allocations: 115.5 kB / 295.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.005519, allocations: 67.83 kB / 295.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.768e-05/0.005607, allocations: 15.97 kB / 295.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.005721, allocations: 59.83 kB / 296 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.005829, allocations: 19.92 kB / 296 MB, free: 2.891 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.005845, allocations: 4 kB / 296 MB, free: 2.887 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.006038, allocations: 99.81 kB / 296.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.56e-05/0.006074, allocations: 4 kB / 296.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.006102, allocations: 11.94 kB / 296.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.006445, allocations: 131.5 kB / 296.3 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-05/0.006463, allocations: 0 / 296.3 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.006464, allocations: 7.938 kB / 296.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.006478, allocations: 0 / 296.3 MB, free: 2.637 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004286/0.006906, allocations: 309.2 kB / 296.6 MB, free: 2.312 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.006936, allocations: 8.031 kB / 296.6 MB, free: 2.305 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.006968, allocations: 12.92 kB / 296.6 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.007107, allocations: 125.7 kB / 296.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.007116, allocations: 4.375 kB / 296.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.007135, allocations: 4.375 kB / 296.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.00726, allocations: 90.31 kB / 296.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.007268, allocations: 4.188 kB / 296.8 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.007278, allocations: 12.12 kB / 296.8 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.007282, allocations: 0 / 296.8 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.489e-05/0.007307, allocations: 15.97 kB / 296.8 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/0.007525, allocations: 171 kB / 297 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.007659, allocations: 33.34 kB / 297 MB, free: 1.77 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.61e-05/0.007675, allocations: 8.938 kB / 297.1 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.007694, allocations: 7.938 kB / 297.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.007715, allocations: 34.62 kB / 297.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.007716, allocations: 0 / 297.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002676/0.007984, allocations: 85.53 kB / 297.2 MB, free: 1.617 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.008012, allocations: 51.41 kB / 297.2 MB, free: 1.555 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.457e-05/0.008106, allocations: 142.7 kB / 297.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.008119, allocations: 25.7 kB / 297.4 MB, free: 1.371 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.008154, allocations: 100.1 kB / 297.5 MB, free: 1.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.008172, allocations: 15.84 kB / 297.5 MB, free: 1.254 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.008202, allocations: 21.7 kB / 297.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.168e-05/0.008274, allocations: 318.8 kB / 297.8 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.18e-05/0.008286, allocations: 4 kB / 297.8 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.831e-05/0.008314, allocations: 43.42 kB / 297.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.308e-05/0.008347, allocations: 23.61 kB / 297.9 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.008348, allocations: 4.031 kB / 297.9 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.593e-05/0.008404, allocations: 49.62 kB / 298 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.008417, allocations: 7.984 kB / 298 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.008422, allocations: 0 / 298 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.146e-06/0.00843, allocations: 0 / 298 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.943e-05/0.008479, allocations: 16 kB / 298 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.008482, allocations: 0 / 298 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.948e-05/0.008501, allocations: 3.984 kB / 298 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.008506, allocations: 4 kB / 298 MB, free: 0.7305 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 (5): * Single equations (assignments): 5 * 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 5.796e-05/0.008564, allocations: 112.7 kB / 298.1 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.008581, allocations: 7.938 kB / 298.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.008701, allocations: 66.31 kB / 298.2 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.008705, allocations: 4 kB / 298.2 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.008708, allocations: 4.062 kB / 298.2 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.008713, allocations: 0 / 298.2 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.008925, allocations: 210.8 kB / 298.4 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.008928, allocations: 3.938 kB / 298.4 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.008968, allocations: 15.98 kB / 298.4 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.278e-06/0.008977, allocations: 7.953 kB / 298.4 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.00898, allocations: 0 / 298.4 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.008988, allocations: 8 kB / 298.4 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.008989, allocations: 3.938 kB / 298.4 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.008991, allocations: 0 / 298.4 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.333e-05/0.009084, allocations: 143.5 kB / 298.6 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.009096, allocations: 0 / 298.6 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.46e-05/0.009131, allocations: 8 kB / 298.6 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.009164, allocations: 3.984 kB / 298.6 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.009167, allocations: 0 / 298.6 MB, free: 88 kB / 282.7 MB Notification: Performance of sorting global known variables: time 3.782e-05/0.009205, allocations: 35.59 kB / 298.6 MB, free: 48 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009205, allocations: 0 / 298.6 MB, free: 48 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001848/0.009389, allocations: 43.86 kB / 298.7 MB, free: 4 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001515/0.0109, allocations: 0.6864 MB / 299.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.628e-05/0.01099, allocations: 24.84 kB / 299.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/0.011, allocations: 4 kB / 299.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.874e-05/0.01102, allocations: 16.8 kB / 299.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.0112, allocations: 43.05 kB / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/0.01162, allocations: 158.6 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.882e-05/0.01166, allocations: 71.28 kB / 299.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.084e-05/0.01171, allocations: 7.859 kB / 299.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.479e-05/0.01179, allocations: 75.34 kB / 299.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of SimCode: time 1.212e-06/0.01179, allocations: 0 / 299.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of Templates: time 0.003671/0.01546, allocations: 2.034 MB / 301.8 MB, free: 13.23 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.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.9477179059758782]