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.001893/0.001893, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002354/0.002354, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001717/0.001717, allocations: 43.92 kB / 377.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2699, allocations: 53.36 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07269/0.3426, allocations: 59 MB / 490.1 MB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007326/0.35, allocations: 4.959 MB / 495 MB, free: 6.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003146/0.3503, allocations: 11.94 kB / 495.1 MB, free: 6.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.3513, allocations: 334 kB / 495.4 MB, free: 6.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009678/0.3523, allocations: 0.5089 MB / 495.9 MB, free: 5.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01844/0.3707, allocations: 7.461 MB / 0.4916 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002087/0.3728, allocations: 1.559 MB / 0.4931 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.3731, allocations: 149.3 kB / 0.4932 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.3741, allocations: 0.6386 MB / 0.4938 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008395/0.375, allocations: 0.576 MB / 0.4944 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.3751, allocations: 84 kB / 0.4945 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01856/0.3937, allocations: 9.544 MB / 0.5038 GB, free: 1.594 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005305/0.3942, allocations: 331.1 kB / 0.5041 GB, free: 1.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006418/0.3948, allocations: 382.8 kB / 0.5045 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01415/0.409, allocations: 5.881 MB / 0.5102 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.409, allocations: 0 / 0.5102 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.409, allocations: 0 / 0.5102 GB, free: 11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.409, allocations: 0 / 0.5102 GB, free: 11 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.003881/0.4129, allocations: 1.529 MB / 0.5117 GB, free: 9.434 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.4129, allocations: 12.03 kB / 0.5117 GB, free: 9.422 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001371/0.4131, allocations: 106.5 kB / 0.5118 GB, free: 9.309 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004213/0.4135, allocations: 91.5 kB / 0.5119 GB, free: 9.219 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007235/0.4142, allocations: 383.2 kB / 0.5123 GB, free: 8.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.4143, allocations: 49.31 kB / 0.5123 GB, free: 8.773 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.4144, allocations: 63.95 kB / 0.5124 GB, free: 8.711 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.4164, allocations: 1.216 MB / 0.5136 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.4164, allocations: 0 / 0.5136 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.4165, allocations: 28 kB / 0.5136 GB, free: 7.359 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.4165, allocations: 12 kB / 0.5136 GB, free: 7.348 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.4185, allocations: 1.032 MB / 0.5146 GB, free: 6.316 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01365/0.4321, allocations: 4.151 MB / 0.5187 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.4339, allocations: 0.7001 MB / 0.5194 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006101/0.4345, allocations: 397.9 kB / 0.5198 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01053/0.445, allocations: 2.612 MB / 0.5223 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.987e-05/0.4451, allocations: 39.22 kB / 0.5223 GB, free: 14.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.925e-06/0.4451, allocations: 0 / 0.5223 GB, free: 14.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.009514/0.4546, allocations: 3.159 MB / 0.5254 GB, free: 11.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.4547, allocations: 60.41 kB / 0.5255 GB, free: 11.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004444/0.4551, allocations: 356.4 kB / 0.5258 GB, free: 10.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.4552, allocations: 45.7 kB / 0.5259 GB, free: 10.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.4554, allocations: 241.2 kB / 0.5261 GB, free: 10.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/0.4557, allocations: 329.2 kB / 0.5264 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002579/0.4559, allocations: 166.6 kB / 0.5266 GB, free: 9.957 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.4561, allocations: 362.8 kB / 0.5269 GB, free: 9.594 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006283/0.4567, allocations: 369.8 kB / 0.5273 GB, free: 9.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009899/0.4577, allocations: 492.2 kB / 0.5277 GB, free: 8.719 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001904/0.4596, allocations: 0.902 MB / 0.5286 GB, free: 7.785 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.4596, allocations: 4 kB / 0.5286 GB, free: 7.781 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002716/0.4623, allocations: 1.121 MB / 0.5297 GB, free: 6.637 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.4624, allocations: 8 kB / 0.5297 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.4624, allocations: 288 / 0.5297 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008357/0.4632, allocations: 171.3 kB / 0.5299 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007632/0.464, allocations: 187.7 kB / 0.5301 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003209/0.4672, allocations: 3.91 MB / 0.5339 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004393/0.4676, allocations: 20 kB / 0.5339 GB, free: 2.059 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.4677, allocations: 43.98 kB / 0.5339 GB, free: 2.016 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.000403/0.4681, allocations: 231.7 kB / 0.5342 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000438/0.4686, allocations: 63.67 kB / 0.5342 GB, free: 1.719 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002568/0.4711, allocations: 1.277 MB / 0.5355 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.4712, allocations: 11.94 kB / 0.5355 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4712, allocations: 4 kB / 0.5355 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.227/0.6982, allocations: 1.317 MB / 0.5368 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003178/0.7014, allocations: 1.8 MB / 0.5385 GB, free: 106.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.7014, allocations: 0 / 0.5385 GB, free: 106.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006875/0.7021, allocations: 158.5 kB / 0.5387 GB, free: 106.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001666/0.7037, allocations: 301.7 kB / 0.539 GB, free: 106.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.79e-05/0.7038, allocations: 35.45 kB / 0.539 GB, free: 106.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005169/0.7043, allocations: 1.284 MB / 0.5403 GB, free: 104.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.7043, allocations: 4.938 kB / 0.5403 GB, free: 104.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002423/0.7068, allocations: 1.423 MB / 0.5417 GB, free: 104.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.7069, allocations: 52.2 kB / 0.5417 GB, free: 104.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-05/0.707, allocations: 20.95 kB / 0.5417 GB, free: 104.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.7075, allocations: 34.14 kB / 0.5418 GB, free: 104.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.7076, allocations: 58.09 kB / 0.5418 GB, free: 104.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.472e-05/0.7077, allocations: 47.34 kB / 0.5419 GB, free: 104.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003074/0.708, allocations: 281.3 kB / 0.5421 GB, free: 104 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.708, allocations: 0 / 0.5421 GB, free: 104 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003367/0.7113, allocations: 1.426 MB / 0.5435 GB, free: 103.9 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.00728/0.7186, allocations: 3.595 MB / 0.547 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.7204, allocations: 1.107 MB / 0.5481 GB, free: 102.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.7204, allocations: 3.812 kB / 0.5481 GB, free: 102.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007186/0.7211, allocations: 481.5 kB / 0.5486 GB, free: 101.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.7229, allocations: 391.4 kB / 0.5489 GB, free: 101.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00969/0.7326, allocations: 7.09 MB / 0.5559 GB, free: 94.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.7328, allocations: 313.7 kB / 0.5562 GB, free: 94.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007379/0.7335, allocations: 212.9 kB / 0.5564 GB, free: 94.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/0.7339, allocations: 229.2 kB / 0.5566 GB, free: 94.32 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7339, allocations: 0 / 0.5566 GB, free: 94.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08931/0.8232, allocations: 59.25 MB / 0.6145 GB, free: 35.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.28/16.1, allocations: 3.125 kB / 0.6145 GB, free: 35.45 MB / 446.1 MB " [Timeout remaining time 644] (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: 31.411437470000237]