Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 194.2 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.7 MB / 252.5 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 47.92 kB / 370.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.249, allocations: 52.18 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06983/0.3188, allocations: 58.85 MB / 481.4 MB, free: 3.324 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007376/0.3262, allocations: 4.959 MB / 486.4 MB, free: 14.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003324/0.3265, allocations: 11.94 kB / 486.4 MB, free: 14.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.3276, allocations: 338 kB / 486.7 MB, free: 14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009797/0.3285, allocations: 0.5166 MB / 487.2 MB, free: 13.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01885/0.3474, allocations: 7.441 MB / 494.7 MB, free: 6.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001983/0.3494, allocations: 1.563 MB / 496.2 MB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003/0.3497, allocations: 153.3 kB / 496.4 MB, free: 4.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009106/0.3506, allocations: 0.6424 MB / 497 MB, free: 3.676 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008109/0.3514, allocations: 0.5722 MB / 497.6 MB, free: 3.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.3515, allocations: 84 kB / 497.7 MB, free: 3.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0174/0.3689, allocations: 9.509 MB / 0.4953 GB, free: 9.496 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004861/0.3694, allocations: 335.1 kB / 0.4956 GB, free: 9.168 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005827/0.37, allocations: 374.8 kB / 0.496 GB, free: 8.801 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01154/0.3815, allocations: 5.869 MB / 0.5017 GB, free: 2.918 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3816, allocations: 0 / 0.5017 GB, free: 2.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3816, allocations: 0 / 0.5017 GB, free: 2.918 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.3816, allocations: 4 kB / 0.5017 GB, free: 2.914 MB / 414.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.003256/0.3848, allocations: 1.521 MB / 0.5032 GB, free: 1.359 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3849, allocations: 8.031 kB / 0.5032 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001377/0.385, allocations: 110.5 kB / 0.5033 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004046/0.3854, allocations: 95.5 kB / 0.5034 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006905/0.3861, allocations: 383.2 kB / 0.5038 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/0.3861, allocations: 45.31 kB / 0.5038 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.3862, allocations: 60 kB / 0.5039 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.3881, allocations: 1.216 MB / 0.5051 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.3882, allocations: 7.984 kB / 0.5051 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.919e-05/0.3882, allocations: 31.94 kB / 0.5051 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.3882, allocations: 16 kB / 0.5051 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.3901, allocations: 1.028 MB / 0.5061 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01293/0.403, allocations: 4.148 MB / 0.5102 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.4047, allocations: 0.7111 MB / 0.5109 GB, free: 9.309 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005722/0.4053, allocations: 382.7 kB / 0.5112 GB, free: 8.934 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/0.4156, allocations: 2.623 MB / 0.5138 GB, free: 6.309 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.826e-05/0.4157, allocations: 47.22 kB / 0.5138 GB, free: 6.254 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 3.116e-06/0.4157, allocations: 4 kB / 0.5138 GB, free: 6.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.01/0.4257, allocations: 3.152 MB / 0.5169 GB, free: 3.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.4257, allocations: 64.41 kB / 0.517 GB, free: 2.992 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004681/0.4262, allocations: 360.4 kB / 0.5173 GB, free: 2.637 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.4263, allocations: 41.7 kB / 0.5174 GB, free: 2.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.4265, allocations: 245.2 kB / 0.5176 GB, free: 2.348 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.4268, allocations: 325.2 kB / 0.5179 GB, free: 2.027 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000264/0.4271, allocations: 162.6 kB / 0.5181 GB, free: 1.863 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.4272, allocations: 358.8 kB / 0.5184 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006381/0.4279, allocations: 369.8 kB / 0.5188 GB, free: 1.141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009665/0.4288, allocations: 0.4884 MB / 0.5192 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/0.4307, allocations: 0.9021 MB / 0.5201 GB, free: 15.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.4307, allocations: 0 / 0.5201 GB, free: 15.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002735/0.4334, allocations: 1.117 MB / 0.5212 GB, free: 14.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.4334, allocations: 6.812 kB / 0.5212 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.4334, allocations: 4 kB / 0.5212 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008564/0.4343, allocations: 175.5 kB / 0.5214 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007727/0.4351, allocations: 183.8 kB / 0.5216 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003306/0.4384, allocations: 3.914 MB / 0.5254 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004915/0.4389, allocations: 20 kB / 0.5254 GB, free: 9.965 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.439, allocations: 51.98 kB / 0.5255 GB, free: 9.914 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.000428/0.4394, allocations: 229.4 kB / 0.5257 GB, free: 9.684 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004206/0.4399, allocations: 67.67 kB / 0.5257 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/0.4424, allocations: 1.281 MB / 0.527 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.4424, allocations: 12 kB / 0.527 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.4424, allocations: 0 / 0.527 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001966/0.4443, allocations: 1.32 MB / 0.5283 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00341/0.4477, allocations: 1.796 MB / 0.53 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.4478, allocations: 0 / 0.53 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007134/0.4485, allocations: 167.8 kB / 0.5302 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001705/0.4502, allocations: 301.2 kB / 0.5305 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.764e-05/0.4503, allocations: 27.98 kB / 0.5305 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009638/0.4512, allocations: 1.285 MB / 0.5318 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.4512, allocations: 3.938 kB / 0.5318 GB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00281/0.454, allocations: 1.429 MB / 0.5332 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.4542, allocations: 51.66 kB / 0.5332 GB, free: 1.652 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.4543, allocations: 20.06 kB / 0.5332 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000547/0.4549, allocations: 31.97 kB / 0.5333 GB, free: 1.602 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.455, allocations: 60.83 kB / 0.5333 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.751e-05/0.4551, allocations: 43.97 kB / 0.5334 GB, free: 1.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003347/0.4554, allocations: 279 kB / 0.5336 GB, free: 1.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4554, allocations: 0 / 0.5336 GB, free: 1.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.2355/0.6909, allocations: 1.418 MB / 0.535 GB, free: 114.2 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.01329/0.7042, allocations: 3.598 MB / 0.5385 GB, free: 113.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002853/0.707, allocations: 1.114 MB / 0.5396 GB, free: 113 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.707, allocations: 3.969 kB / 0.5396 GB, free: 113 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.7085, allocations: 473.5 kB / 0.5401 GB, free: 112.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00279/0.7113, allocations: 386.4 kB / 0.5405 GB, free: 112.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/0.7271, allocations: 7.088 MB / 0.5474 GB, free: 109 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.7275, allocations: 316.3 kB / 0.5477 GB, free: 108.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0011/0.7286, allocations: 200.5 kB / 0.5479 GB, free: 108.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004491/0.729, allocations: 229.4 kB / 0.5481 GB, free: 108.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.729, allocations: 0 / 0.5481 GB, free: 108.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1254/0.8545, allocations: 59.08 MB / 0.6058 GB, free: 50.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.27/16.12, allocations: 12.59 kB / 0.6058 GB, free: 50.21 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv. Warning: Get data of variable volume1.medium.p from file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 31.38167944503948]