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.0008151/0.0008151, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008391/0.0008391, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8751/0.8751, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.613e-06/1.613e-06, allocations: 0 / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.761e-05, allocations: 4.672 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.04406/0.04408, allocations: 58.84 MB / 383.4 MB, free: 4.863 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004513/0.04859, allocations: 4.966 MB / 388.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.04881, allocations: 15.88 kB / 388.4 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009858/0.0498, allocations: 337.9 kB / 388.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000614/0.05041, allocations: 0.5356 MB / 389.3 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01199/0.0624, allocations: 7.531 MB / 396.8 MB, free: 7.461 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.06359, allocations: 1.566 MB / 398.4 MB, free: 5.891 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.06381, allocations: 141.5 kB / 398.5 MB, free: 5.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008673/0.06467, allocations: 0.8494 MB / 399.4 MB, free: 4.898 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000541/0.06521, allocations: 0.5298 MB / 399.9 MB, free: 4.367 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.653e-05/0.06531, allocations: 84 kB / 400 MB, free: 4.285 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01156/0.07687, allocations: 9.587 MB / 409.6 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002818/0.07716, allocations: 347.1 kB / 409.9 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000299/0.07746, allocations: 331.4 kB / 410.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007967/0.08542, allocations: 7.16 MB / 417.4 MB, free: 2.844 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.08543, allocations: 4 kB / 417.4 MB, free: 2.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.08543, allocations: 7.922 kB / 417.4 MB, free: 2.832 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.08544, allocations: 4 kB / 417.4 MB, free: 2.828 MB / 378.7 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.002049/0.08748, allocations: 1.514 MB / 418.9 MB, free: 1.277 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.08752, allocations: 8.031 kB / 418.9 MB, free: 1.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.499e-05/0.08762, allocations: 110.5 kB / 419 MB, free: 1.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002601/0.08788, allocations: 95.5 kB / 419.1 MB, free: 1.059 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.08833, allocations: 375.6 kB / 419.5 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.08835, allocations: 45.31 kB / 419.5 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.601e-05/0.08842, allocations: 71.95 kB / 419.6 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.08956, allocations: 1.212 MB / 420.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.08958, allocations: 11.98 kB / 420.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/0.08962, allocations: 24 kB / 420.8 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.08963, allocations: 16 kB / 420.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.09076, allocations: 1.016 MB / 421.9 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006776/0.09754, allocations: 4.139 MB / 426 MB, free: 9.973 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.09862, allocations: 0.708 MB / 426.7 MB, free: 9.254 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003922/0.09901, allocations: 391 kB / 427.1 MB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004801/0.1038, allocations: 2.611 MB / 429.7 MB, free: 6.254 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.1038, allocations: 55.16 kB / 429.8 MB, free: 6.191 MB / 394.7 MB Notification: Performance of pre-optimization done (n=78): time 2.294e-06/0.1038, allocations: 0 / 429.8 MB, free: 6.191 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.005245/0.1091, allocations: 3.144 MB / 432.9 MB, free: 3.012 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.1091, allocations: 64.41 kB / 433 MB, free: 2.934 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.1094, allocations: 360.4 kB / 433.3 MB, free: 2.578 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/0.1094, allocations: 41.7 kB / 433.4 MB, free: 2.531 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.1096, allocations: 245.2 kB / 433.6 MB, free: 2.285 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.1097, allocations: 321.2 kB / 433.9 MB, free: 1.969 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.1099, allocations: 158.6 kB / 434.1 MB, free: 1.809 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.866e-05/0.11, allocations: 358.8 kB / 434.4 MB, free: 1.449 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/0.1104, allocations: 373.8 kB / 434.8 MB, free: 1.082 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005562/0.1109, allocations: 492.2 kB / 435.3 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.112, allocations: 0.9059 MB / 436.2 MB, free: 15.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.112, allocations: 0 / 436.2 MB, free: 15.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001488/0.1135, allocations: 1.121 MB / 437.3 MB, free: 14.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1135, allocations: 4 kB / 437.3 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.1135, allocations: 7.938 kB / 437.3 MB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004306/0.1139, allocations: 167.6 kB / 437.5 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.1143, allocations: 191.7 kB / 437.7 MB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.1162, allocations: 3.906 MB / 441.6 MB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.1163, allocations: 20 kB / 441.6 MB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/0.1164, allocations: 47.92 kB / 441.6 MB, free: 9.867 MB / 410.7 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.0002089/0.1166, allocations: 229.6 kB / 441.9 MB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/0.1168, allocations: 59.67 kB / 441.9 MB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.1183, allocations: 1.277 MB / 443.2 MB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1183, allocations: 16.03 kB / 443.2 MB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.1183, allocations: 0 / 443.2 MB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001153/0.1194, allocations: 1.324 MB / 444.5 MB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.1214, allocations: 1.807 MB / 446.3 MB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1214, allocations: 0 / 446.3 MB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/0.1218, allocations: 159.8 kB / 446.5 MB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008584/0.1226, allocations: 297.4 kB / 446.8 MB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.35e-05/0.1227, allocations: 31.98 kB / 446.8 MB, free: 4.438 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004851/0.1232, allocations: 1.289 MB / 448.1 MB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1232, allocations: 0 / 448.1 MB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.1248, allocations: 1.418 MB / 449.5 MB, free: 1.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.1248, allocations: 51.72 kB / 449.6 MB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-05/0.1249, allocations: 23.98 kB / 449.6 MB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.1251, allocations: 28.17 kB / 449.6 MB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.319e-05/0.1252, allocations: 64.89 kB / 449.7 MB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/0.1252, allocations: 39.97 kB / 449.7 MB, free: 1.457 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002106/0.1254, allocations: 283 kB / 450 MB, free: 1.184 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1254, allocations: 0 / 450 MB, free: 1.184 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.1281/0.2535, allocations: 1.417 MB / 451.4 MB, free: 119.9 MB / 410.7 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.006276/0.2598, allocations: 3.773 MB / 455.2 MB, free: 119.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.261, allocations: 1.111 MB / 456.3 MB, free: 118.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.261, allocations: 0 / 456.3 MB, free: 118.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004671/0.2615, allocations: 474.8 kB / 456.8 MB, free: 118.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009937/0.2625, allocations: 386.8 kB / 457.1 MB, free: 118.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00637/0.2689, allocations: 6.984 MB / 464.1 MB, free: 114 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.269, allocations: 311.2 kB / 464.4 MB, free: 113.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004337/0.2695, allocations: 209.3 kB / 464.6 MB, free: 113.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.2697, allocations: 233.6 kB / 464.9 MB, free: 113.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2697, allocations: 0 / 464.9 MB, free: 113.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05761/0.3273, allocations: 59.47 MB / 0.512 GB, free: 54.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.522/9.849, allocations: 7.922 kB / 0.5121 GB, free: 54.57 MB / 410.7 MB " [Timeout remaining time 650] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/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: 19.936075568199158]