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.001264/0.001264, allocations: 76.72 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001288/0.001288, allocations: 144.9 kB / 25.59 MB, free: 8.605 MB / 18.57 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.9046/0.9046, allocations: 173.4 MB / 202.3 MB, free: 8.305 MB / 186.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.123e-06/1.123e-06, allocations: 0 / 269.2 MB, free: 9.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341e-05/1.453e-05, allocations: 6.469 kB / 269.2 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.0266/0.02661, allocations: 25.67 MB / 294.9 MB, free: 20 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003821/0.03043, allocations: 2.67 MB / 297.6 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.03063, allocations: 15.88 kB / 297.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005091/0.03114, allocations: 159 kB / 297.7 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008248/0.03197, allocations: 0.5394 MB / 298.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01828/0.05024, allocations: 6.907 MB / 305.2 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001437/0.05168, allocations: 1.613 MB / 306.8 MB, free: 4.078 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002307/0.05191, allocations: 137.5 kB / 306.9 MB, free: 3.938 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008637/0.05277, allocations: 0.8264 MB / 307.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005438/0.05332, allocations: 0.5415 MB / 308.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.031e-05/0.05341, allocations: 84 kB / 308.4 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01104/0.06444, allocations: 8.947 MB / 317.3 MB, free: 9.523 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000389/0.06483, allocations: 347.1 kB / 317.7 MB, free: 9.184 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004438/0.06528, allocations: 343.4 kB / 318 MB, free: 8.848 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.07575, allocations: 6.333 MB / 324.3 MB, free: 2.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.07576, allocations: 0 / 324.3 MB, free: 2.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.07576, allocations: 0 / 324.3 MB, free: 2.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.07577, allocations: 0 / 324.3 MB, free: 2.5 MB / 298.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.002729/0.0785, allocations: 1.571 MB / 325.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.07853, allocations: 8.031 kB / 325.9 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003158/0.07885, allocations: 163.6 kB / 326.1 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.07923, allocations: 362.5 kB / 326.4 MB, free: 344 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.07926, allocations: 49.31 kB / 326.5 MB, free: 296 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.07937, allocations: 79.94 kB / 326.5 MB, free: 216 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008496/0.08021, allocations: 0.8257 MB / 327.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.08023, allocations: 4 kB / 327.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.534e-05/0.08028, allocations: 24 kB / 327.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.08029, allocations: 16 kB / 327.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006023/0.08089, allocations: 414 kB / 327.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006171/0.08706, allocations: 3.603 MB / 331.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007309/0.0878, allocations: 437.8 kB / 331.8 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.08797, allocations: 177.9 kB / 332 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004706/0.09268, allocations: 2.317 MB / 334.3 MB, free: 8.262 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.09272, allocations: 57.98 kB / 334.4 MB, free: 8.195 MB / 314.7 MB Notification: Performance of pre-optimization done (n=78): time 2.425e-06/0.09272, allocations: 0 / 334.4 MB, free: 8.195 MB / 314.7 MB Notification: Performance of matching and sorting (n=88): time 0.003963/0.09668, allocations: 1.991 MB / 336.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.09671, allocations: 64.41 kB / 336.4 MB, free: 6.094 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.0969, allocations: 312.1 kB / 336.7 MB, free: 5.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/0.09696, allocations: 45.7 kB / 336.8 MB, free: 5.719 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.09709, allocations: 299.8 kB / 337.1 MB, free: 5.418 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.09724, allocations: 329.1 kB / 337.4 MB, free: 5.094 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.0974, allocations: 164.2 kB / 337.6 MB, free: 4.926 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.09753, allocations: 0.5351 MB / 338.1 MB, free: 4.379 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.0977, allocations: 125.9 kB / 338.2 MB, free: 4.258 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/0.09805, allocations: 287.3 kB / 338.5 MB, free: 3.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006266/0.09868, allocations: 474.8 kB / 339 MB, free: 3.422 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.09868, allocations: 0 / 339 MB, free: 3.422 MB / 314.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001387/0.1001, allocations: 0.7215 MB / 339.7 MB, free: 2.672 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1001, allocations: 8.281 kB / 339.7 MB, free: 2.664 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.1001, allocations: 8 kB / 339.7 MB, free: 2.656 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003935/0.1005, allocations: 142.5 kB / 339.8 MB, free: 2.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004056/0.1009, allocations: 191.7 kB / 340 MB, free: 2.312 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.108/0.2089, allocations: 5.247 MB / 345.3 MB, free: 44.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.2093, allocations: 19.09 kB / 345.3 MB, free: 44.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-05/0.2094, allocations: 36.81 kB / 345.3 MB, free: 44.79 MB / 314.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.0002128/0.2096, allocations: 212.2 kB / 345.5 MB, free: 44.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003629/0.2099, allocations: 155.9 kB / 345.7 MB, free: 44.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.2111, allocations: 0.9081 MB / 346.6 MB, free: 44.47 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2111, allocations: 8.969 kB / 346.6 MB, free: 44.47 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2111, allocations: 1.406 kB / 346.6 MB, free: 44.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007486/0.2119, allocations: 0.9346 MB / 347.5 MB, free: 43.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.2135, allocations: 1.23 MB / 348.8 MB, free: 43.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2135, allocations: 1.406 kB / 348.8 MB, free: 43.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.2139, allocations: 164 kB / 348.9 MB, free: 43.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009492/0.2148, allocations: 278.2 kB / 349.2 MB, free: 43.44 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-05/0.2149, allocations: 28.38 kB / 349.2 MB, free: 43.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003354/0.2152, allocations: 1.827 MB / 351.1 MB, free: 41.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2152, allocations: 4.453 kB / 351.1 MB, free: 41.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.2165, allocations: 0.9473 MB / 352 MB, free: 41.35 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.866e-05/0.2165, allocations: 52.75 kB / 352.1 MB, free: 41.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.755e-05/0.2166, allocations: 24.27 kB / 352.1 MB, free: 41.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.2168, allocations: 26 kB / 352.1 MB, free: 41.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.2169, allocations: 60.55 kB / 352.2 MB, free: 41.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.464e-05/0.2169, allocations: 40.39 kB / 352.2 MB, free: 41.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.717e-05/0.217, allocations: 226.7 kB / 352.4 MB, free: 41.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.217, allocations: 0 / 352.4 MB, free: 41.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002675/0.2197, allocations: 1.354 MB / 353.8 MB, free: 41.2 MB / 314.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.003961/0.2237, allocations: 1.839 MB / 355.6 MB, free: 41.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.2248, allocations: 0.8457 MB / 356.5 MB, free: 40.72 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2248, allocations: 0 / 356.5 MB, free: 40.72 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000378/0.2252, allocations: 311.2 kB / 356.8 MB, free: 40.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009904/0.2262, allocations: 364.5 kB / 357.1 MB, free: 40.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.228, allocations: 1.327 MB / 358.5 MB, free: 40.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.246e-05/0.2281, allocations: 168.1 kB / 358.6 MB, free: 39.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003999/0.2285, allocations: 145.1 kB / 358.8 MB, free: 39.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000611/0.2291, allocations: 423 kB / 359.2 MB, free: 39.85 MB / 314.7 MB Notification: Performance of SimCode: time 1.844e-06/0.2291, allocations: 0 / 359.2 MB, free: 39.85 MB / 314.7 MB Notification: Performance of Templates: time 0.04554/0.2747, allocations: 55.57 MB / 414.7 MB, free: 9.641 MB / 330.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 -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: 10.358992227818817]