Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001664/0.001664, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.001894/0.001894, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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.45/1.45, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 47.94 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1102, allocations: 53.32 MB / 426.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2769/0.3871, allocations: 66.01 MB / 492.3 MB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00852/0.3957, allocations: 5.486 MB / 497.8 MB, free: 8.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007025/0.3964, allocations: 10.81 kB / 497.8 MB, free: 8.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.3978, allocations: 365.2 kB / 498.2 MB, free: 8.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.3992, allocations: 0.5117 MB / 498.7 MB, free: 7.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02318/0.4224, allocations: 7.472 MB / 0.4943 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002293/0.4247, allocations: 1.551 MB / 0.4958 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000334/0.4251, allocations: 164.8 kB / 0.496 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.4262, allocations: 0.6386 MB / 0.4966 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000852/0.427, allocations: 0.6034 MB / 0.4972 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.4271, allocations: 84 kB / 0.4973 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02133/0.4485, allocations: 10.4 MB / 0.5074 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006158/0.4491, allocations: 331.1 kB / 0.5077 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007482/0.4498, allocations: 430.4 kB / 0.5081 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01623/0.4661, allocations: 5.978 MB / 0.514 GB, free: 12.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.4661, allocations: 4 kB / 0.514 GB, free: 12.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4661, allocations: 0 / 0.514 GB, free: 12.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.4661, allocations: 0 / 0.514 GB, free: 12.82 MB / 430.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.004388/0.4705, allocations: 1.609 MB / 0.5156 GB, free: 11.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.4705, allocations: 12.03 kB / 0.5156 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002469/0.4708, allocations: 106.5 kB / 0.5157 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004683/0.4712, allocations: 87.56 kB / 0.5158 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007069/0.472, allocations: 456.9 kB / 0.5162 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.472, allocations: 49.31 kB / 0.5162 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.4721, allocations: 64.95 kB / 0.5163 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.474, allocations: 0.8146 MB / 0.5171 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.474, allocations: 0 / 0.5171 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.77e-05/0.4741, allocations: 32 kB / 0.5171 GB, free: 9.492 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.4741, allocations: 12 kB / 0.5171 GB, free: 9.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.4761, allocations: 1.028 MB / 0.5181 GB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01947/0.4956, allocations: 12.78 MB / 0.5306 GB, free: 9.531 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.4975, allocations: 0.7138 MB / 0.5313 GB, free: 8.805 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006319/0.4981, allocations: 390.6 kB / 0.5317 GB, free: 8.422 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01686/0.515, allocations: 12.22 MB / 0.5436 GB, free: 9.816 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.261e-05/0.5151, allocations: 47.22 kB / 0.5437 GB, free: 9.762 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.236e-06/0.5151, allocations: 0 / 0.5437 GB, free: 9.762 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.01037/0.5254, allocations: 3.385 MB / 0.547 GB, free: 6.301 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.5255, allocations: 64.39 kB / 0.547 GB, free: 6.227 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004626/0.526, allocations: 352.5 kB / 0.5474 GB, free: 5.875 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.524e-05/0.5261, allocations: 41.7 kB / 0.5474 GB, free: 5.828 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.5262, allocations: 241.2 kB / 0.5476 GB, free: 5.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/0.5265, allocations: 329.2 kB / 0.548 GB, free: 5.266 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/0.5268, allocations: 166.5 kB / 0.5481 GB, free: 5.094 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.527, allocations: 358.8 kB / 0.5485 GB, free: 4.734 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006234/0.5276, allocations: 369.8 kB / 0.5488 GB, free: 4.375 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009719/0.5286, allocations: 0.4884 MB / 0.5493 GB, free: 3.855 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/0.5304, allocations: 0.9021 MB / 0.5502 GB, free: 2.922 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5305, allocations: 3.938 kB / 0.5502 GB, free: 2.918 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00272/0.5332, allocations: 1.113 MB / 0.5513 GB, free: 1.785 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.5332, allocations: 8 kB / 0.5513 GB, free: 1.777 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.5332, allocations: 0 / 0.5513 GB, free: 1.777 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008653/0.5341, allocations: 167.4 kB / 0.5514 GB, free: 1.602 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007712/0.5348, allocations: 187.8 kB / 0.5516 GB, free: 1.418 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00354/0.5384, allocations: 4.12 MB / 0.5556 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004322/0.5388, allocations: 20 kB / 0.5556 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.5389, allocations: 44.23 kB / 0.5557 GB, free: 12.91 MB / 478.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.0003994/0.5393, allocations: 229.6 kB / 0.5559 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003979/0.5397, allocations: 67.67 kB / 0.556 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002556/0.5423, allocations: 1.277 MB / 0.5572 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.5423, allocations: 12 kB / 0.5572 GB, free: 11.29 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.5423, allocations: 0 / 0.5572 GB, free: 11.29 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001966/0.5442, allocations: 1.316 MB / 0.5585 GB, free: 9.84 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003464/0.5477, allocations: 1.96 MB / 0.5604 GB, free: 7.812 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.5477, allocations: 0 / 0.5604 GB, free: 7.812 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007344/0.5484, allocations: 171.8 kB / 0.5606 GB, free: 7.645 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001879/0.5503, allocations: 289.2 kB / 0.5609 GB, free: 7.355 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.978e-05/0.5504, allocations: 31.98 kB / 0.5609 GB, free: 7.324 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009161/0.5513, allocations: 1.289 MB / 0.5622 GB, free: 5.988 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.5513, allocations: 3.984 kB / 0.5622 GB, free: 5.984 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002811/0.5541, allocations: 1.421 MB / 0.5636 GB, free: 4.531 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.5543, allocations: 132.9 kB / 0.5637 GB, free: 4.383 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-05/0.5544, allocations: 20 kB / 0.5637 GB, free: 4.363 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005202/0.5549, allocations: 32.09 kB / 0.5637 GB, free: 4.332 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.555, allocations: 60.86 kB / 0.5638 GB, free: 4.273 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.823e-05/0.5551, allocations: 51.91 kB / 0.5638 GB, free: 4.223 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003444/0.5555, allocations: 275 kB / 0.5641 GB, free: 3.957 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5555, allocations: 0 / 0.5641 GB, free: 3.957 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004161/0.5596, allocations: 1.427 MB / 0.5655 GB, free: 2.527 MB / 478.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.009769/0.5694, allocations: 3.594 MB / 0.569 GB, free: 14.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002631/0.572, allocations: 1.113 MB / 0.5701 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.572, allocations: 4 kB / 0.5701 GB, free: 13.74 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.5731, allocations: 483.8 kB / 0.5706 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.5751, allocations: 382.6 kB / 0.5709 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/0.5882, allocations: 7.081 MB / 0.5778 GB, free: 5.621 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006312/0.5889, allocations: 0.9089 MB / 0.5787 GB, free: 4.684 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007294/0.5896, allocations: 205.1 kB / 0.5789 GB, free: 4.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004278/0.59, allocations: 231.3 kB / 0.5791 GB, free: 4.254 MB / 494.1 MB Notification: Performance of SimCode: time 8.51e-07/0.59, allocations: 0 / 0.5791 GB, free: 4.254 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3713/0.9613, allocations: 57.13 MB / 0.6349 GB, free: 148.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/15.36, allocations: 12.25 kB / 0.6349 GB, free: 148.8 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv. Warning: Get data of variable volume1.medium.p from file Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 30.51471122300427]