Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00138/0.002459, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009623/0.0009623, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001269/0.002232, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9359/0.9359, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07554/1.011, allocations: 52.49 MB / 238.3 MB, free: 4.438 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 239.6 MB, free: 3.168 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.197e-05, allocations: 2.312 kB / 239.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.03165/0.03168, allocations: 26.09 MB / 265.7 MB, free: 8.973 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004085/0.03576, allocations: 2.744 MB / 268.4 MB, free: 6.219 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002367/0.036, allocations: 11.94 kB / 268.4 MB, free: 6.207 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004598/0.03646, allocations: 162.9 kB / 268.6 MB, free: 6.047 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008555/0.03731, allocations: 0.5434 MB / 269.1 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1247/0.162, allocations: 6.343 MB / 275.5 MB, free: 3.633 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001391/0.1634, allocations: 1.624 MB / 277.1 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002642/0.1636, allocations: 145 kB / 277.2 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009293/0.1646, allocations: 0.8551 MB / 278.1 MB, free: 3.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006354/0.1652, allocations: 0.5048 MB / 278.6 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.1653, allocations: 83.53 kB / 278.7 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01136/0.1767, allocations: 9.478 MB / 288.1 MB, free: 3.266 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.1769, allocations: 284.5 kB / 288.4 MB, free: 3.238 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.1772, allocations: 275 kB / 288.7 MB, free: 3.215 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005554/0.1827, allocations: 4.933 MB / 293.6 MB, free: 2.977 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-05/0.1827, allocations: 0 / 293.6 MB, free: 2.977 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1827, allocations: 0 / 293.6 MB, free: 2.977 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.13e-05/0.1828, allocations: 1.031 kB / 293.6 MB, free: 2.977 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002333/0.1851, allocations: 1.943 MB / 295.6 MB, free: 18.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.1851, allocations: 11.97 kB / 295.6 MB, free: 18.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002821/0.1854, allocations: 221.8 kB / 295.8 MB, free: 17.88 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.1857, allocations: 312.7 kB / 296.1 MB, free: 17.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.1858, allocations: 49.41 kB / 296.1 MB, free: 17.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.304e-05/0.1858, allocations: 71.75 kB / 296.2 MB, free: 17.67 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006706/0.1865, allocations: 0.8526 MB / 297.1 MB, free: 16.98 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.1865, allocations: 4.547 kB / 297.1 MB, free: 16.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.1866, allocations: 28.97 kB / 297.1 MB, free: 16.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.1866, allocations: 16.5 kB / 297.1 MB, free: 16.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004978/0.1871, allocations: 357 kB / 297.5 MB, free: 16.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005136/0.1922, allocations: 3.43 MB / 300.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006553/0.1929, allocations: 450.5 kB / 301.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.193, allocations: 166.9 kB / 301.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003999/0.197, allocations: 2.413 MB / 303.9 MB, free: 11.15 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.197, allocations: 48.72 kB / 304 MB, free: 11.1 MB / 282.7 MB Notification: Performance of pre-optimization done (n=78): time 2.314e-06/0.197, allocations: 1.5 kB / 304 MB, free: 11.1 MB / 282.7 MB Notification: Performance of matching and sorting (n=88): time 0.003892/0.2009, allocations: 2.085 MB / 306 MB, free: 9.102 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.201, allocations: 64.41 kB / 306.1 MB, free: 9.027 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.2011, allocations: 249.6 kB / 306.4 MB, free: 8.805 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.2012, allocations: 41.7 kB / 306.4 MB, free: 8.758 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.017e-05/0.2012, allocations: 226.2 kB / 306.6 MB, free: 8.539 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.2014, allocations: 326 kB / 306.9 MB, free: 8.242 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.2015, allocations: 155.3 kB / 307.1 MB, free: 8.102 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.705e-05/0.2016, allocations: 366.8 kB / 307.4 MB, free: 7.758 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.2018, allocations: 112.1 kB / 307.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.2021, allocations: 229.3 kB / 307.8 MB, free: 7.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005668/0.2026, allocations: 439.7 kB / 308.2 MB, free: 6.969 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2026, allocations: 0 / 308.2 MB, free: 6.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0009428/0.2036, allocations: 0.5874 MB / 308.8 MB, free: 6.371 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.2036, allocations: 11.94 kB / 308.8 MB, free: 6.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2036, allocations: 0 / 308.8 MB, free: 6.359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003573/0.204, allocations: 138.4 kB / 308.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/0.2044, allocations: 234.3 kB / 309.2 MB, free: 5.996 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.2059, allocations: 3.546 MB / 312.7 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.2061, allocations: 24 kB / 312.7 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.79e-05/0.2061, allocations: 32.27 kB / 312.8 MB, free: 2.191 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.2062, allocations: 172.8 kB / 312.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/0.2065, allocations: 139.1 kB / 313.1 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008812/0.2074, allocations: 0.7589 MB / 313.8 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.2074, allocations: 8 kB / 313.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.2074, allocations: 3.984 kB / 313.8 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005994/0.208, allocations: 0.8269 MB / 314.7 MB, free: 196 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.2091, allocations: 1.055 MB / 315.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2091, allocations: 0 / 315.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/0.2096, allocations: 194.2 kB / 315.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.2096, allocations: 51.69 kB / 316 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007827/0.2104, allocations: 284.3 kB / 316.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/0.2104, allocations: 27.98 kB / 316.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003883/0.2108, allocations: 1.205 MB / 317.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2108, allocations: 3.938 kB / 317.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000919/0.2118, allocations: 0.8135 MB / 318.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/0.2118, allocations: 19.98 kB / 318.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.212, allocations: 28.11 kB / 318.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.2121, allocations: 68.48 kB / 318.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.693e-05/0.2121, allocations: 31.97 kB / 318.4 MB, free: 12.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.799e-05/0.2122, allocations: 105 kB / 318.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2122, allocations: 0 / 318.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00255/0.2148, allocations: 1.392 MB / 319.9 MB, free: 10.91 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006169/0.2209, allocations: 1.954 MB / 321.9 MB, free: 9.102 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007883/0.2217, allocations: 0.6824 MB / 322.6 MB, free: 8.414 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.72e-05/0.2217, allocations: 8 kB / 322.6 MB, free: 8.406 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.222, allocations: 276 kB / 322.9 MB, free: 8.156 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007935/0.2228, allocations: 429.4 kB / 323.3 MB, free: 7.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005791/0.2286, allocations: 1.282 MB / 324.6 MB, free: 6.469 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.2287, allocations: 173 kB / 324.7 MB, free: 6.273 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000357/0.2291, allocations: 141 kB / 324.9 MB, free: 6.133 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000619/0.2297, allocations: 341 kB / 325.2 MB, free: 5.797 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.2297, allocations: 0 / 325.2 MB, free: 5.797 MB / 298.7 MB Notification: Performance of Templates: time 0.04789/0.2776, allocations: 56.25 MB / 381.4 MB, free: 13.89 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.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: 8.772992779500782]