Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001285/0.001285, allocations: 115.5 kB / 18.45 MB, free: 4.625 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.001405/0.001405, allocations: 211.3 kB / 21.41 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 207.6 MB / 231.8 MB, free: 4.113 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 55.91 kB / 342.3 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09422/0.09599, allocations: 49.14 MB / 391.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07652/0.1725, allocations: 66.02 MB / 457.5 MB, free: 6.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007534/0.18, allocations: 5.476 MB / 462.9 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004257/0.1805, allocations: 7.938 kB / 462.9 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.1816, allocations: 365.9 kB / 463.3 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.1828, allocations: 0.5089 MB / 463.8 MB, free: 108 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2215/0.4044, allocations: 7.102 MB / 470.9 MB, free: 4.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002187/0.4066, allocations: 1.543 MB / 472.4 MB, free: 4.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003922/0.407, allocations: 169.1 kB / 472.6 MB, free: 4.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.4086, allocations: 0.6394 MB / 473.3 MB, free: 4.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.4099, allocations: 0.6007 MB / 473.9 MB, free: 4.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002235/0.4101, allocations: 85.91 kB / 473.9 MB, free: 4.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02069/0.4308, allocations: 10.27 MB / 484.2 MB, free: 3.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006322/0.4314, allocations: 332.8 kB / 484.5 MB, free: 3.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009462/0.4324, allocations: 431.3 kB / 484.9 MB, free: 3.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01669/0.4491, allocations: 5.939 MB / 490.9 MB, free: 1.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.4491, allocations: 3.938 kB / 490.9 MB, free: 1.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.4491, allocations: 0 / 490.9 MB, free: 1.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.092e-05/0.4491, allocations: 0 / 490.9 MB, free: 1.77 MB / 382.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.0049/0.454, allocations: 1.593 MB / 492.5 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.454, allocations: 8.344 kB / 492.5 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/0.4542, allocations: 117.2 kB / 492.6 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004852/0.4547, allocations: 92.16 kB / 492.7 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000673/0.4553, allocations: 444 kB / 493.1 MB, free: 340 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.646e-05/0.4554, allocations: 51.22 kB / 493.2 MB, free: 336 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.4555, allocations: 66.2 kB / 493.2 MB, free: 332 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.4571, allocations: 0.8038 MB / 494 MB, free: 144 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.4572, allocations: 0 / 494 MB, free: 144 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-05/0.4572, allocations: 34 kB / 494.1 MB, free: 140 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.4572, allocations: 13.31 kB / 494.1 MB, free: 140 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.459, allocations: 1.04 MB / 495.1 MB, free: 0 / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0182/0.4772, allocations: 12.79 MB / 0.496 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.4789, allocations: 0.7191 MB / 0.4967 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000522/0.4794, allocations: 382.4 kB / 0.4971 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0161/0.4955, allocations: 12.24 MB / 0.509 GB, free: 5.539 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.827e-05/0.4956, allocations: 50.03 kB / 0.5091 GB, free: 5.492 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.936e-06/0.4956, allocations: 0 / 0.5091 GB, free: 5.492 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.01056/0.5062, allocations: 3.39 MB / 0.5124 GB, free: 2.461 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.5062, allocations: 64.41 kB / 0.5125 GB, free: 2.387 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004576/0.5067, allocations: 356.5 kB / 0.5128 GB, free: 2.031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.5068, allocations: 45.7 kB / 0.5128 GB, free: 1.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.507, allocations: 241.2 kB / 0.5131 GB, free: 1.742 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000272/0.5072, allocations: 323.6 kB / 0.5134 GB, free: 1.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.5075, allocations: 158.6 kB / 0.5135 GB, free: 1.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.5077, allocations: 362.8 kB / 0.5139 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006188/0.5083, allocations: 369.8 kB / 0.5142 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009654/0.5093, allocations: 492.2 kB / 0.5147 GB, free: 36 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001852/0.5111, allocations: 0.9073 MB / 0.5156 GB, free: 15.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.5111, allocations: 3.938 kB / 0.5156 GB, free: 15.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002817/0.5139, allocations: 1.122 MB / 0.5167 GB, free: 13.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.514, allocations: 4 kB / 0.5167 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.514, allocations: 4 kB / 0.5167 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008604/0.5148, allocations: 168.9 kB / 0.5169 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008102/0.5157, allocations: 193.5 kB / 0.517 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003435/0.5191, allocations: 4.112 MB / 0.5211 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005813/0.5197, allocations: 24 kB / 0.5211 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.5198, allocations: 39.98 kB / 0.5211 GB, free: 9.133 MB / 430.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.0004347/0.5202, allocations: 225.3 kB / 0.5213 GB, free: 8.914 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004189/0.5206, allocations: 71.56 kB / 0.5214 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/0.5233, allocations: 1.281 MB / 0.5227 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.5233, allocations: 8 kB / 0.5227 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.5233, allocations: 4 kB / 0.5227 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001983/0.5253, allocations: 1.319 MB / 0.5239 GB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003596/0.5289, allocations: 1.966 MB / 0.5259 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.5289, allocations: 0 / 0.5259 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007317/0.5296, allocations: 162.5 kB / 0.526 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00186/0.5315, allocations: 301.3 kB / 0.5263 GB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.5316, allocations: 31.98 kB / 0.5263 GB, free: 3.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009806/0.5326, allocations: 1.289 MB / 0.5276 GB, free: 2.262 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/0.5326, allocations: 4.031 kB / 0.5276 GB, free: 2.258 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002923/0.5355, allocations: 1.421 MB / 0.529 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/0.5358, allocations: 124.8 kB / 0.5291 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.5359, allocations: 23.98 kB / 0.5291 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00056/0.5364, allocations: 23.98 kB / 0.5292 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.5365, allocations: 68.42 kB / 0.5292 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.822e-05/0.5366, allocations: 43.97 kB / 0.5293 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003685/0.537, allocations: 283 kB / 0.5295 GB, free: 256 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.537, allocations: 0 / 0.5295 GB, free: 256 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.005117/0.5421, allocations: 1.407 MB / 0.5309 GB, free: 14.84 MB / 446.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.01037/0.5525, allocations: 3.609 MB / 0.5344 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002448/0.5549, allocations: 1.117 MB / 0.5355 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.555, allocations: 4 kB / 0.5355 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009802/0.5559, allocations: 474.8 kB / 0.536 GB, free: 9.746 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/0.5579, allocations: 394.3 kB / 0.5364 GB, free: 9.359 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/0.5718, allocations: 7.066 MB / 0.5433 GB, free: 2.145 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005884/0.5724, allocations: 0.9167 MB / 0.5442 GB, free: 1.199 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008089/0.5732, allocations: 205.1 kB / 0.5443 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003973/0.5736, allocations: 231.4 kB / 0.5446 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5736, allocations: 0 / 0.5446 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1169/0.6905, allocations: 58.38 MB / 0.6016 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/14.98, allocations: 8.047 kB / 0.6016 GB, free: 6.316 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv. Warning: Get data of variable volume1.medium.p from file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 29.82390742500138]