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.001817/0.001817, allocations: 123 kB / 17.79 MB, free: 5.266 MB / 14.72 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.002582/0.002582, allocations: 189.2 kB / 20.73 MB, free: 2.328 MB / 14.72 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 1.458/1.458, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 47.92 kB / 365.6 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.118, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2678/0.3858, allocations: 65.87 MB / 483.7 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007554/0.3933, allocations: 5.475 MB / 489.1 MB, free: 6.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004646/0.3938, allocations: 9.875 kB / 489.1 MB, free: 6.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.395, allocations: 361.2 kB / 489.5 MB, free: 5.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.3963, allocations: 0.5121 MB / 490 MB, free: 5.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01825/0.4145, allocations: 7.452 MB / 497.5 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002253/0.4168, allocations: 1.549 MB / 499 MB, free: 15.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003277/0.4171, allocations: 173.3 kB / 499.2 MB, free: 15.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009762/0.4181, allocations: 0.6416 MB / 499.8 MB, free: 15.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007583/0.4188, allocations: 0.6054 MB / 0.4887 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.919e-05/0.4189, allocations: 82.88 kB / 0.4888 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01734/0.4363, allocations: 10.38 MB / 0.4989 GB, free: 8.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004732/0.4367, allocations: 323.2 kB / 0.4992 GB, free: 8.066 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000725/0.4375, allocations: 446.3 kB / 0.4996 GB, free: 7.629 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01234/0.4498, allocations: 5.939 MB / 0.5054 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.4498, allocations: 11.98 kB / 0.5055 GB, free: 1.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4498, allocations: 0 / 0.5055 GB, free: 1.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.4498, allocations: 0 / 0.5055 GB, free: 1.664 MB / 398.1 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.003866/0.4537, allocations: 1.605 MB / 0.507 GB, free: 0 / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.4537, allocations: 8.078 kB / 0.507 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001608/0.4539, allocations: 115 kB / 0.5071 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004562/0.4544, allocations: 87.56 kB / 0.5072 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006795/0.455, allocations: 441 kB / 0.5076 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.465e-05/0.4551, allocations: 49.3 kB / 0.5077 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.4552, allocations: 68 kB / 0.5078 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.457, allocations: 0.8127 MB / 0.5085 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.457, allocations: 0 / 0.5085 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.49e-05/0.4571, allocations: 28.5 kB / 0.5086 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.4571, allocations: 19.98 kB / 0.5086 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.4591, allocations: 1.024 MB / 0.5096 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01849/0.4775, allocations: 12.78 MB / 0.5221 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.4793, allocations: 0.7063 MB / 0.5228 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006243/0.48, allocations: 390.5 kB / 0.5231 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01623/0.4962, allocations: 12.26 MB / 0.5351 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.4963, allocations: 43.22 kB / 0.5351 GB, free: 14.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.705e-06/0.4963, allocations: 0 / 0.5351 GB, free: 14.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.01007/0.5063, allocations: 3.386 MB / 0.5385 GB, free: 11.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.5064, allocations: 64.34 kB / 0.5385 GB, free: 11.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004441/0.5068, allocations: 364.4 kB / 0.5389 GB, free: 10.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.179e-05/0.5069, allocations: 41.7 kB / 0.5389 GB, free: 10.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.5071, allocations: 241.2 kB / 0.5391 GB, free: 10.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/0.5074, allocations: 321.2 kB / 0.5394 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002632/0.5076, allocations: 170.6 kB / 0.5396 GB, free: 9.938 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.5078, allocations: 362.8 kB / 0.5399 GB, free: 9.574 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006205/0.5084, allocations: 365.8 kB / 0.5403 GB, free: 9.215 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009642/0.5094, allocations: 492.2 kB / 0.5408 GB, free: 8.699 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/0.5113, allocations: 0.9098 MB / 0.5417 GB, free: 7.754 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5113, allocations: 0 / 0.5417 GB, free: 7.754 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002701/0.514, allocations: 1.118 MB / 0.5427 GB, free: 6.621 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.514, allocations: 12.03 kB / 0.5428 GB, free: 6.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.514, allocations: 4 kB / 0.5428 GB, free: 6.605 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008654/0.5149, allocations: 159.3 kB / 0.5429 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007656/0.5156, allocations: 195.7 kB / 0.5431 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/0.5189, allocations: 4.117 MB / 0.5471 GB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004196/0.5194, allocations: 23.97 kB / 0.5471 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.916e-05/0.5195, allocations: 43.98 kB / 0.5472 GB, free: 1.738 MB / 446.1 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.0003736/0.5198, allocations: 230.5 kB / 0.5474 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000382/0.5202, allocations: 63.67 kB / 0.5475 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/0.5227, allocations: 1.269 MB / 0.5487 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.5227, allocations: 8 kB / 0.5487 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.5227, allocations: 7.938 kB / 0.5487 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002024/0.5248, allocations: 1.327 MB / 0.55 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003429/0.5282, allocations: 1.964 MB / 0.5519 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.5282, allocations: 0 / 0.5519 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007181/0.5289, allocations: 155.8 kB / 0.5521 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/0.5307, allocations: 301.3 kB / 0.5524 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.066e-05/0.5308, allocations: 31.98 kB / 0.5524 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009293/0.5317, allocations: 1.285 MB / 0.5537 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5317, allocations: 0 / 0.5537 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/0.5344, allocations: 1.418 MB / 0.555 GB, free: 9.367 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.5346, allocations: 132.8 kB / 0.5552 GB, free: 9.219 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.243e-05/0.5347, allocations: 20.09 kB / 0.5552 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005325/0.5352, allocations: 31.97 kB / 0.5552 GB, free: 9.168 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.5353, allocations: 56.92 kB / 0.5553 GB, free: 9.109 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-05/0.5354, allocations: 43.91 kB / 0.5553 GB, free: 9.066 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003358/0.5358, allocations: 279 kB / 0.5556 GB, free: 8.797 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5358, allocations: 0 / 0.5556 GB, free: 8.797 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003811/0.5396, allocations: 1.419 MB / 0.557 GB, free: 7.375 MB / 462.1 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.008561/0.5481, allocations: 3.623 MB / 0.5605 GB, free: 3.723 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002337/0.5505, allocations: 1.101 MB / 0.5616 GB, free: 2.586 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/0.5505, allocations: 4 kB / 0.5616 GB, free: 2.582 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009804/0.5515, allocations: 479.9 kB / 0.562 GB, free: 2.109 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/0.5534, allocations: 385.9 kB / 0.5624 GB, free: 1.734 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/0.5662, allocations: 7.093 MB / 0.5693 GB, free: 10.46 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.5668, allocations: 0.9089 MB / 0.5702 GB, free: 9.52 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007488/0.5675, allocations: 201.2 kB / 0.5704 GB, free: 9.32 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000397/0.5679, allocations: 227.4 kB / 0.5706 GB, free: 9.098 MB / 478.1 MB Notification: Performance of SimCode: time 1.322e-06/0.5679, allocations: 0 / 0.5706 GB, free: 9.098 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1104/0.6783, allocations: 56.97 MB / 0.6263 GB, free: 304 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.87/15.55, allocations: 8 kB / 0.6263 GB, free: 296 kB / 0.5137 GB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable volume1.medium.p in file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv. Warning: Get data of variable volume1.medium.p from file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 31.080603893846273]