Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001651/0.001651, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002103/0.002103, allocations: 214.7 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 230.5 MB / 257.4 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 63.91 kB / 377.8 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2716, allocations: 53.4 MB / 431.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07472/0.3463, allocations: 66.38 MB / 497.6 MB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007569/0.3538, allocations: 5.511 MB / 0.4913 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004608/0.3543, allocations: 11.94 kB / 0.4913 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.3555, allocations: 365.9 kB / 0.4917 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.3567, allocations: 0.5166 MB / 0.4922 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01883/0.3755, allocations: 7.538 MB / 0.4995 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002247/0.3778, allocations: 1.571 MB / 0.5011 GB, free: 4.523 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003339/0.3781, allocations: 145.4 kB / 0.5012 GB, free: 4.371 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.3794, allocations: 0.6425 MB / 0.5018 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009655/0.3803, allocations: 0.6073 MB / 0.5024 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.3805, allocations: 80 kB / 0.5025 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01951/0.4, allocations: 10.48 MB / 0.5127 GB, free: 8.547 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005253/0.4005, allocations: 335 kB / 0.513 GB, free: 8.223 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006559/0.4012, allocations: 446.4 kB / 0.5135 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.4144, allocations: 5.974 MB / 0.5193 GB, free: 1.797 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4144, allocations: 0 / 0.5193 GB, free: 1.797 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4144, allocations: 0 / 0.5193 GB, free: 1.797 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.4144, allocations: 3.938 kB / 0.5193 GB, free: 1.793 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.003846/0.4183, allocations: 1.541 MB / 0.5208 GB, free: 220 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.4183, allocations: 12.02 kB / 0.5208 GB, free: 208 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/0.4184, allocations: 106.5 kB / 0.5209 GB, free: 92 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004246/0.4189, allocations: 91.5 kB / 0.521 GB, free: 0 / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007168/0.4196, allocations: 379.2 kB / 0.5214 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.278e-05/0.4196, allocations: 49.31 kB / 0.5214 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.4197, allocations: 63.95 kB / 0.5215 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.4215, allocations: 0.8147 MB / 0.5223 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.4215, allocations: 0 / 0.5223 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-05/0.4216, allocations: 31.94 kB / 0.5223 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.4216, allocations: 16 kB / 0.5223 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.4235, allocations: 1.036 MB / 0.5233 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01452/0.438, allocations: 4.977 MB / 0.5282 GB, free: 8.395 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.4398, allocations: 0.7144 MB / 0.5289 GB, free: 7.672 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005876/0.4404, allocations: 390 kB / 0.5293 GB, free: 7.293 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01087/0.4512, allocations: 2.592 MB / 0.5318 GB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/0.4513, allocations: 43.59 kB / 0.5318 GB, free: 4.645 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.745e-06/0.4513, allocations: 0 / 0.5318 GB, free: 4.645 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.009842/0.4611, allocations: 3.155 MB / 0.5349 GB, free: 1.461 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.4612, allocations: 64.41 kB / 0.535 GB, free: 1.383 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004357/0.4616, allocations: 356.5 kB / 0.5353 GB, free: 1.027 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.873e-05/0.4617, allocations: 41.7 kB / 0.5354 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.4619, allocations: 241.2 kB / 0.5356 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000259/0.4621, allocations: 329.2 kB / 0.5359 GB, free: 428 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.4624, allocations: 162.6 kB / 0.5361 GB, free: 260 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.2111/0.6735, allocations: 362.7 kB / 0.5364 GB, free: 106.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009868/0.6745, allocations: 366.8 kB / 0.5367 GB, free: 106.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.6756, allocations: 497.8 kB / 0.5372 GB, free: 106 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.6773, allocations: 0.905 MB / 0.5381 GB, free: 105.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.6773, allocations: 0 / 0.5381 GB, free: 105.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002436/0.6797, allocations: 1.113 MB / 0.5392 GB, free: 105.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.6798, allocations: 7.172 kB / 0.5392 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.6798, allocations: 2.656 kB / 0.5392 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008007/0.6806, allocations: 171.5 kB / 0.5394 GB, free: 105.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007409/0.6813, allocations: 190.6 kB / 0.5395 GB, free: 105.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/0.6833, allocations: 3.903 MB / 0.5434 GB, free: 101.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/0.6838, allocations: 22.39 kB / 0.5434 GB, free: 101.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.485e-05/0.6839, allocations: 48.98 kB / 0.5434 GB, free: 101.4 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.0003338/0.6842, allocations: 230 kB / 0.5436 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003728/0.6846, allocations: 65.16 kB / 0.5437 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/0.6868, allocations: 1.281 MB / 0.545 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.6868, allocations: 8.375 kB / 0.545 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6868, allocations: 4.5 kB / 0.545 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001528/0.6884, allocations: 1.322 MB / 0.5463 GB, free: 99.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/0.6912, allocations: 1.938 MB / 0.5482 GB, free: 98.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.6912, allocations: 3.75 kB / 0.5482 GB, free: 98.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006419/0.6918, allocations: 164.2 kB / 0.5483 GB, free: 98.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001613/0.6935, allocations: 301.4 kB / 0.5486 GB, free: 98.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.975e-05/0.6935, allocations: 27.45 kB / 0.5486 GB, free: 98.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005503/0.6941, allocations: 1.287 MB / 0.5499 GB, free: 97.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6941, allocations: 9.25 kB / 0.5499 GB, free: 97.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/0.6963, allocations: 1.411 MB / 0.5513 GB, free: 96.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.6964, allocations: 47.42 kB / 0.5513 GB, free: 96.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.405e-05/0.6965, allocations: 29.89 kB / 0.5513 GB, free: 96.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005252/0.697, allocations: 28.84 kB / 0.5514 GB, free: 96.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.763e-05/0.6971, allocations: 59.72 kB / 0.5514 GB, free: 96.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.391e-05/0.6972, allocations: 48.83 kB / 0.5515 GB, free: 96.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002524/0.6974, allocations: 280 kB / 0.5517 GB, free: 96.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6974, allocations: 0 / 0.5517 GB, free: 96.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003427/0.7009, allocations: 1.424 MB / 0.5531 GB, free: 96.47 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.007714/0.7086, allocations: 3.594 MB / 0.5566 GB, free: 94.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.7106, allocations: 1.106 MB / 0.5577 GB, free: 93.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.7106, allocations: 6.281 kB / 0.5577 GB, free: 93.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000747/0.7113, allocations: 477.8 kB / 0.5582 GB, free: 93.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/0.7131, allocations: 388.8 kB / 0.5586 GB, free: 92.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.7235, allocations: 7.078 MB / 0.5655 GB, free: 85.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.7239, allocations: 0.9128 MB / 0.5664 GB, free: 84.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007049/0.7246, allocations: 203.9 kB / 0.5666 GB, free: 84.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.7249, allocations: 231.3 kB / 0.5668 GB, free: 84.43 MB / 446.1 MB Notification: Performance of SimCode: time 1.553e-06/0.7249, allocations: 0 / 0.5668 GB, free: 84.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09167/0.8165, allocations: 57.82 MB / 0.6232 GB, free: 26.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.41/16.23, allocations: 3.938 kB / 0.6232 GB, free: 26.73 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv. Warning: Get data of variable volume1.medium.p from file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 31.40396239600159]