Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001293/0.001293, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002316/0.002316, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.MoistAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 47.92 kB / 377.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2489, allocations: 53.36 MB / 431.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06121/0.3101, allocations: 51.17 MB / 482.3 MB, free: 3.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007138/0.3172, allocations: 5.241 MB / 487.6 MB, free: 14.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002838/0.3175, allocations: 7.938 kB / 487.6 MB, free: 14.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008346/0.3184, allocations: 258.6 kB / 487.8 MB, free: 14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007524/0.3191, allocations: 373.9 kB / 488.2 MB, free: 13.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01802/0.3371, allocations: 7.201 MB / 495.4 MB, free: 6.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001548/0.3387, allocations: 1.111 MB / 496.5 MB, free: 5.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.3389, allocations: 101.8 kB / 496.6 MB, free: 5.211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006952/0.3459, allocations: 3.603 MB / 0.4885 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006898/0.3466, allocations: 430.5 kB / 0.4889 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.861e-05/0.3467, allocations: 56 kB / 0.4889 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01865/0.3653, allocations: 10.18 MB / 0.4989 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003697/0.3657, allocations: 239.4 kB / 0.4991 GB, free: 6.699 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004621/0.3661, allocations: 306.8 kB / 0.4994 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.3788, allocations: 5.534 MB / 0.5048 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3788, allocations: 0 / 0.5048 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3788, allocations: 0 / 0.5048 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.3788, allocations: 0 / 0.5048 GB, free: 0.8516 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003579/0.3824, allocations: 1.331 MB / 0.5061 GB, free: 15.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3825, allocations: 19.97 kB / 0.5061 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.3826, allocations: 82.53 kB / 0.5062 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003468/0.3829, allocations: 63.66 kB / 0.5063 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005605/0.3835, allocations: 304.4 kB / 0.5065 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.3835, allocations: 29 kB / 0.5066 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.675e-05/0.3836, allocations: 47.98 kB / 0.5066 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.3849, allocations: 0.592 MB / 0.5072 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.3849, allocations: 0 / 0.5072 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.563e-05/0.385, allocations: 20 kB / 0.5072 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.385, allocations: 12 kB / 0.5072 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/0.3864, allocations: 0.7495 MB / 0.508 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01337/0.3998, allocations: 4.168 MB / 0.512 GB, free: 9.223 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.4011, allocations: 0.5089 MB / 0.5125 GB, free: 8.703 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.4015, allocations: 246 kB / 0.5128 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01082/0.4123, allocations: 2.545 MB / 0.5152 GB, free: 5.914 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/0.4124, allocations: 39 kB / 0.5153 GB, free: 5.867 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.054e-06/0.4124, allocations: 0 / 0.5153 GB, free: 5.867 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005941/0.4183, allocations: 1.889 MB / 0.5171 GB, free: 3.938 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.4184, allocations: 59.91 kB / 0.5172 GB, free: 3.867 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003988/0.4188, allocations: 324.2 kB / 0.5175 GB, free: 3.543 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.972e-05/0.4189, allocations: 37.7 kB / 0.5175 GB, free: 3.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.419, allocations: 204.7 kB / 0.5177 GB, free: 3.297 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.4192, allocations: 198.3 kB / 0.5179 GB, free: 3.102 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.4194, allocations: 122.3 kB / 0.518 GB, free: 2.977 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.4196, allocations: 346.8 kB / 0.5184 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/0.42, allocations: 237.2 kB / 0.5186 GB, free: 2.398 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006678/0.4207, allocations: 344.3 kB / 0.5189 GB, free: 2.031 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.4219, allocations: 0.6034 MB / 0.5195 GB, free: 1.395 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.4219, allocations: 4 kB / 0.5195 GB, free: 1.391 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001886/0.4238, allocations: 0.752 MB / 0.5202 GB, free: 0.625 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.4238, allocations: 7.938 kB / 0.5203 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.4238, allocations: 4 kB / 0.5203 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005018/0.4243, allocations: 98.52 kB / 0.5204 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005352/0.4248, allocations: 128 kB / 0.5205 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002994/0.4278, allocations: 3.265 MB / 0.5237 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/0.4282, allocations: 16 kB / 0.5237 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.122e-05/0.4283, allocations: 31.98 kB / 0.5237 GB, free: 12.82 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0003066/0.4286, allocations: 205.1 kB / 0.5239 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002988/0.4289, allocations: 55.84 kB / 0.524 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.4305, allocations: 0.8073 MB / 0.5247 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.4305, allocations: 8 kB / 0.5248 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.4305, allocations: 0 / 0.5248 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/0.4317, allocations: 0.7596 MB / 0.5255 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.434, allocations: 1.281 MB / 0.5267 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.434, allocations: 0 / 0.5267 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004519/0.4345, allocations: 99.83 kB / 0.5268 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009575/0.4354, allocations: 152.7 kB / 0.527 GB, free: 9.281 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-05/0.4355, allocations: 23.98 kB / 0.527 GB, free: 9.258 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005129/0.436, allocations: 0.6445 MB / 0.5276 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.436, allocations: 0 / 0.5276 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.4377, allocations: 0.9054 MB / 0.5285 GB, free: 7.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.4379, allocations: 43.8 kB / 0.5286 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.998e-05/0.4379, allocations: 12 kB / 0.5286 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.4383, allocations: 19.98 kB / 0.5286 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/0.4384, allocations: 40.36 kB / 0.5286 GB, free: 7.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.435e-05/0.4385, allocations: 27.98 kB / 0.5287 GB, free: 7.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003053/0.4388, allocations: 259 kB / 0.5289 GB, free: 7.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4388, allocations: 0 / 0.5289 GB, free: 7.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003799/0.4426, allocations: 1.337 MB / 0.5302 GB, free: 5.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008288/0.4509, allocations: 3.035 MB / 0.5332 GB, free: 2.852 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001791/0.4527, allocations: 0.7725 MB / 0.5339 GB, free: 2.051 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4527, allocations: 4 kB / 0.5339 GB, free: 2.047 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006011/0.4533, allocations: 287.1 kB / 0.5342 GB, free: 1.766 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.4547, allocations: 289.5 kB / 0.5345 GB, free: 1.484 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2078/0.6625, allocations: 5.315 MB / 0.5397 GB, free: 103 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.6628, allocations: 0.8362 MB / 0.5405 GB, free: 102.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000575/0.6634, allocations: 144.6 kB / 0.5406 GB, free: 102.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.6636, allocations: 159.3 kB / 0.5408 GB, free: 102.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.402e-06/0.6636, allocations: 0 / 0.5408 GB, free: 102.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08158/0.7452, allocations: 51.12 MB / 0.5907 GB, free: 59.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.37/16.12, allocations: 10.31 kB / 0.5907 GB, free: 59.47 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_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_MoistAir1.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 25.484213334999367]