Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 112.8 kB / 17.06 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 200 kB / 18.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 47.92 kB / 350.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2454, allocations: 49.43 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05284/0.2983, allocations: 50.55 MB / 450.8 MB, free: 6.086 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005978/0.3043, allocations: 5.195 MB / 456 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002565/0.3046, allocations: 4 kB / 456 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007186/0.3054, allocations: 254.5 kB / 456.2 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006329/0.306, allocations: 362 kB / 456.6 MB, free: 268 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01603/0.3221, allocations: 7.143 MB / 463.7 MB, free: 9.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.3233, allocations: 1.099 MB / 464.8 MB, free: 8.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.3236, allocations: 141.6 kB / 465 MB, free: 7.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006138/0.3297, allocations: 3.613 MB / 468.6 MB, free: 4.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005383/0.3303, allocations: 398.7 kB / 469 MB, free: 3.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.249e-05/0.3304, allocations: 60 kB / 469 MB, free: 3.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01657/0.347, allocations: 9.92 MB / 478.9 MB, free: 9.871 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003504/0.3474, allocations: 219.5 kB / 479.2 MB, free: 9.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005046/0.3479, allocations: 306.9 kB / 479.5 MB, free: 9.355 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.3596, allocations: 5.511 MB / 485 MB, free: 3.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.3596, allocations: 0 / 485 MB, free: 3.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3596, allocations: 3.938 kB / 485 MB, free: 3.828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.128e-05/0.3597, allocations: 0 / 485 MB, free: 3.828 MB / 398.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.003472/0.3631, allocations: 1.402 MB / 486.4 MB, free: 2.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3632, allocations: 12.03 kB / 486.4 MB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000133/0.3633, allocations: 90.45 kB / 486.5 MB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003719/0.3637, allocations: 63.7 kB / 486.5 MB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005562/0.3643, allocations: 366.1 kB / 486.9 MB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.3643, allocations: 32.94 kB / 486.9 MB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.49e-05/0.3644, allocations: 47.98 kB / 487 MB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.3658, allocations: 0.592 MB / 487.6 MB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.3658, allocations: 3.938 kB / 487.6 MB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.652e-05/0.3659, allocations: 24 kB / 487.6 MB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.3659, allocations: 12 kB / 487.6 MB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.3672, allocations: 0.7417 MB / 488.3 MB, free: 352 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01681/0.3841, allocations: 11.96 MB / 0.4886 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.3855, allocations: 0.5311 MB / 0.4891 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003899/0.3859, allocations: 263.9 kB / 0.4894 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01404/0.4, allocations: 11.9 MB / 0.501 GB, free: 3.309 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/0.4001, allocations: 39 kB / 0.501 GB, free: 3.262 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 3.056e-06/0.4001, allocations: 0 / 0.501 GB, free: 3.262 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005903/0.406, allocations: 2.128 MB / 0.5031 GB, free: 1.039 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.4061, allocations: 55.97 kB / 0.5031 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003491/0.4064, allocations: 314.9 kB / 0.5034 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.56e-05/0.4065, allocations: 41.69 kB / 0.5035 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.4066, allocations: 212.7 kB / 0.5037 GB, free: 412 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.4068, allocations: 198.2 kB / 0.5039 GB, free: 212 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.407, allocations: 118.2 kB / 0.504 GB, free: 88 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.4071, allocations: 342.8 kB / 0.5043 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003779/0.4075, allocations: 237 kB / 0.5045 GB, free: 15.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006159/0.4081, allocations: 351.3 kB / 0.5049 GB, free: 15.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.4092, allocations: 0.5956 MB / 0.5055 GB, free: 14.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4093, allocations: 0 / 0.5055 GB, free: 14.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001821/0.4111, allocations: 0.7598 MB / 0.5062 GB, free: 13.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.4111, allocations: 15.88 kB / 0.5062 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.4111, allocations: 0 / 0.5062 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004782/0.4116, allocations: 98.52 kB / 0.5063 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005022/0.4121, allocations: 132 kB / 0.5064 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/0.4145, allocations: 3.48 MB / 0.5098 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003188/0.4149, allocations: 12 kB / 0.5098 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.445e-05/0.415, allocations: 28 kB / 0.5099 GB, free: 9.652 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.00027/0.4152, allocations: 197.6 kB / 0.5101 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003125/0.4156, allocations: 47.92 kB / 0.5101 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.4171, allocations: 0.8228 MB / 0.5109 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4171, allocations: 4 kB / 0.5109 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.4171, allocations: 0 / 0.5109 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001098/0.4182, allocations: 0.7596 MB / 0.5116 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.4203, allocations: 1.297 MB / 0.5129 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.4203, allocations: 0 / 0.5129 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004454/0.4208, allocations: 103.9 kB / 0.513 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009246/0.4217, allocations: 152.6 kB / 0.5132 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/0.4218, allocations: 16 kB / 0.5132 GB, free: 6.082 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004018/0.4222, allocations: 0.6485 MB / 0.5138 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.4222, allocations: 3.984 kB / 0.5138 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.4238, allocations: 0.9134 MB / 0.5147 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.4239, allocations: 116.9 kB / 0.5148 GB, free: 4.332 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.043e-05/0.424, allocations: 12 kB / 0.5148 GB, free: 4.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/0.4245, allocations: 19.98 kB / 0.5148 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.4245, allocations: 36.39 kB / 0.5149 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.066e-05/0.4246, allocations: 35.91 kB / 0.5149 GB, free: 4.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002667/0.4249, allocations: 249.9 kB / 0.5152 GB, free: 3.984 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4249, allocations: 4 kB / 0.5152 GB, free: 3.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003352/0.4282, allocations: 1.329 MB / 0.5165 GB, free: 2.648 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.007875/0.4361, allocations: 3.053 MB / 0.5194 GB, free: 15.56 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001648/0.4378, allocations: 0.8076 MB / 0.5202 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.4378, allocations: 0 / 0.5202 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005973/0.4384, allocations: 287.9 kB / 0.5205 GB, free: 14.44 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.44, allocations: 279.5 kB / 0.5208 GB, free: 14.17 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009275/0.4493, allocations: 5.31 MB / 0.526 GB, free: 8.688 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.4498, allocations: 0.8326 MB / 0.5268 GB, free: 7.828 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005837/0.4504, allocations: 144.2 kB / 0.5269 GB, free: 7.684 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.4506, allocations: 155.4 kB / 0.5271 GB, free: 7.531 MB / 462.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4506, allocations: 0 / 0.5271 GB, free: 7.531 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2591/0.7097, allocations: 50.41 MB / 0.5763 GB, free: 101.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/15.11, allocations: 13.02 kB / 0.5763 GB, free: 101.9 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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.000404 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches