Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.0008433/0.0008433, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001288/0.002131, 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.0007497/0.0007497, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001803, 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.04/1.04, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09659/1.137, 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.2532/0.2532, allocations: 34.26 MB / 278.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02494/0.2781, allocations: 13.1 MB / 291.5 MB, free: 7.344 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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,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.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 292.9 MB, free: 6.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.399e-05/1.576e-05, allocations: 3.719 kB / 292.9 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.001941/0.001957, allocations: 1.682 MB / 294.5 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.00321, allocations: 1.337 MB / 295.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.003261, allocations: 0 / 295.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.003378, allocations: 23.8 kB / 295.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.003553, allocations: 83.5 kB / 296 MB, free: 3.059 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.003757, allocations: 116.5 kB / 296.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.003879, allocations: 71.83 kB / 296.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.484e-05/0.003954, allocations: 19.91 kB / 296.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.867e-05/0.004043, allocations: 51.89 kB / 296.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.689e-05/0.00413, allocations: 20.91 kB / 296.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.004143, allocations: 4 kB / 296.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.004288, allocations: 103.8 kB / 296.4 MB, free: 2.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.61e-05/0.004324, allocations: 11.94 kB / 296.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.01e-05/0.004344, allocations: 8 kB / 296.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.004514, allocations: 131.4 kB / 296.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.004524, allocations: 0 / 296.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.004525, allocations: 4 kB / 296.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.004532, allocations: 0 / 296.5 MB, free: 2.527 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.000368/0.0049, allocations: 305.2 kB / 296.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.004929, allocations: 15.97 kB / 296.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.004959, allocations: 8.922 kB / 296.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.005089, allocations: 125.7 kB / 297 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-06/0.005095, allocations: 8.375 kB / 297 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.005113, allocations: 384 / 297 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.005225, allocations: 98.31 kB / 297.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.005233, allocations: 192 / 297.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.00524, allocations: 4.125 kB / 297.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.005244, allocations: 0 / 297.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.975e-05/0.005264, allocations: 7.984 kB / 297.1 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.005453, allocations: 175.1 kB / 297.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.00557, allocations: 37.33 kB / 297.3 MB, free: 1.664 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.434e-05/0.005584, allocations: 12.94 kB / 297.3 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.005598, allocations: 4 kB / 297.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.005617, allocations: 30.56 kB / 297.3 MB, free: 1.605 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 6.52e-07/0.005617, allocations: 0 / 297.3 MB, free: 1.605 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002371/0.005854, allocations: 85.53 kB / 297.4 MB, free: 1.516 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.005876, allocations: 51.41 kB / 297.5 MB, free: 1.453 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.595e-05/0.005962, allocations: 141.9 kB / 297.6 MB, free: 1.301 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.005973, allocations: 25.7 kB / 297.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.006011, allocations: 96.06 kB / 297.7 MB, free: 1.172 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.006033, allocations: 19.84 kB / 297.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.006058, allocations: 17.72 kB / 297.8 MB, free: 1.129 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.613e-05/0.006144, allocations: 322.8 kB / 298.1 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.018e-05/0.006154, allocations: 4.062 kB / 298.1 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-05/0.006186, allocations: 51.41 kB / 298.1 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.965e-05/0.006215, allocations: 23.61 kB / 298.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.006216, allocations: 0 / 298.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.628e-05/0.006273, allocations: 53.61 kB / 298.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.006284, allocations: 4 kB / 298.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.006288, allocations: 0 / 298.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.0063, allocations: 0 / 298.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.329e-05/0.006343, allocations: 12 kB / 298.2 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.006346, allocations: 4.031 kB / 298.2 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.894e-05/0.006365, allocations: 11.92 kB / 298.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.00637, allocations: 4 kB / 298.2 MB, free: 0.6172 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 4.934e-05/0.006419, allocations: 112.6 kB / 298.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.006436, allocations: 7.938 kB / 298.4 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.057e-05/0.006517, allocations: 66.12 kB / 298.4 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-06/0.006518, allocations: 0 / 298.4 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.006519, allocations: 0 / 298.4 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.006521, allocations: 0 / 298.4 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.006691, allocations: 207.1 kB / 298.6 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.006694, allocations: 11.94 kB / 298.6 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.841e-05/0.006722, allocations: 15.98 kB / 298.6 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.00673, allocations: 7.938 kB / 298.7 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.006731, allocations: 4 kB / 298.7 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-06/0.006735, allocations: 0 / 298.7 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-07/0.006735, allocations: 0 / 298.7 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.006737, allocations: 3.984 kB / 298.7 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.817e-05/0.006815, allocations: 143.5 kB / 298.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.006825, allocations: 0 / 298.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.165e-05/0.006857, allocations: 7.938 kB / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.006876, allocations: 11.98 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.00688, allocations: 4 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.082e-05/0.006911, allocations: 33.53 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006911, allocations: 0 / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001688/0.00708, allocations: 39.86 kB / 298.9 MB, free: 15.89 MB / 298.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.001376/0.008456, allocations: 0.6948 MB / 299.6 MB, free: 15.56 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.85e-05/0.008524, allocations: 24.84 kB / 299.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.008529, allocations: 0 / 299.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.349e-05/0.008552, allocations: 20.86 kB / 299.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.008724, allocations: 95.25 kB / 299.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.009089, allocations: 158.5 kB / 299.9 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.239e-05/0.009122, allocations: 63.34 kB / 299.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.644e-05/0.009158, allocations: 15.84 kB / 300 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.047e-05/0.009219, allocations: 67.34 kB / 300 MB, free: 15.05 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.009219, allocations: 0 / 300 MB, free: 15.05 MB / 298.7 MB Notification: Performance of Templates: time 0.003133/0.01235, allocations: 2.032 MB / 302.1 MB, free: 13.04 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.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: 2.784859336912632]