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.001459/0.001459, allocations: 107 kB / 17.06 MB, free: 5.793 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.001292/0.001292, allocations: 200 kB / 18.01 MB, free: 4.918 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.385/1.385, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 43.92 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2583, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06007/0.3184, allocations: 50.56 MB / 450.8 MB, free: 6.094 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006806/0.3253, allocations: 5.187 MB / 456 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002565/0.3256, allocations: 7.938 kB / 456 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007566/0.3264, allocations: 242.6 kB / 456.2 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006722/0.3271, allocations: 365.9 kB / 456.6 MB, free: 288 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01705/0.3441, allocations: 7.103 MB / 463.7 MB, free: 9.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001451/0.3456, allocations: 1.099 MB / 464.8 MB, free: 8.082 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.3459, allocations: 145.5 kB / 464.9 MB, free: 7.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006808/0.3527, allocations: 3.605 MB / 468.5 MB, free: 4.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005983/0.3533, allocations: 394.7 kB / 468.9 MB, free: 3.934 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.3534, allocations: 63.94 kB / 469 MB, free: 3.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01803/0.3715, allocations: 9.92 MB / 478.9 MB, free: 9.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003363/0.3719, allocations: 231.5 kB / 479.1 MB, free: 9.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004536/0.3723, allocations: 302.9 kB / 479.4 MB, free: 9.414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01275/0.3851, allocations: 5.507 MB / 484.9 MB, free: 3.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3851, allocations: 4 kB / 484.9 MB, free: 3.891 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.3851, allocations: 0 / 484.9 MB, free: 3.891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.3851, allocations: 3.938 kB / 484.9 MB, free: 3.887 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.003513/0.3887, allocations: 1.399 MB / 486.3 MB, free: 2.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3887, allocations: 8.031 kB / 486.3 MB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.3888, allocations: 94.45 kB / 486.4 MB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003488/0.3892, allocations: 59.72 kB / 486.5 MB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/0.3897, allocations: 366.1 kB / 486.9 MB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.3898, allocations: 33 kB / 486.9 MB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.646e-05/0.3899, allocations: 43.94 kB / 486.9 MB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.3912, allocations: 0.5881 MB / 487.5 MB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.3912, allocations: 4 kB / 487.5 MB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.487e-05/0.3913, allocations: 20 kB / 487.5 MB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.3913, allocations: 12 kB / 487.6 MB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.3927, allocations: 0.7417 MB / 488.3 MB, free: 428 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01712/0.4098, allocations: 11.97 MB / 0.4885 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.4112, allocations: 0.5239 MB / 0.4891 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003937/0.4116, allocations: 258 kB / 0.4893 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0157/0.4273, allocations: 11.9 MB / 0.5009 GB, free: 3.379 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.594e-05/0.4274, allocations: 46.98 kB / 0.501 GB, free: 3.324 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.444e-06/0.4274, allocations: 0 / 0.501 GB, free: 3.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.006154/0.4336, allocations: 2.129 MB / 0.503 GB, free: 1.102 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.4337, allocations: 55.97 kB / 0.5031 GB, free: 1.035 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.434, allocations: 318.9 kB / 0.5034 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/0.4341, allocations: 37.7 kB / 0.5034 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.4343, allocations: 204.8 kB / 0.5036 GB, free: 484 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.4344, allocations: 206.2 kB / 0.5038 GB, free: 276 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.4346, allocations: 110.2 kB / 0.5039 GB, free: 160 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.4348, allocations: 346.8 kB / 0.5043 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004092/0.4352, allocations: 241 kB / 0.5045 GB, free: 15.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006722/0.4359, allocations: 339.4 kB / 0.5048 GB, free: 15.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.4372, allocations: 0.6073 MB / 0.5054 GB, free: 14.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4372, allocations: 0 / 0.5054 GB, free: 14.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001906/0.4391, allocations: 0.7559 MB / 0.5061 GB, free: 13.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.4391, allocations: 7.938 kB / 0.5062 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.4391, allocations: 7.938 kB / 0.5062 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005079/0.4396, allocations: 106.5 kB / 0.5063 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005109/0.4402, allocations: 123.8 kB / 0.5064 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/0.443, allocations: 3.48 MB / 0.5098 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/0.4434, allocations: 12 kB / 0.5098 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.801e-05/0.4435, allocations: 35.98 kB / 0.5098 GB, free: 9.711 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.000279/0.4437, allocations: 189.6 kB / 0.51 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002993/0.4441, allocations: 47.77 kB / 0.5101 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/0.4457, allocations: 0.823 MB / 0.5109 GB, free: 8.613 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.4458, allocations: 7.984 kB / 0.5109 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.4458, allocations: 0 / 0.5109 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00121/0.447, allocations: 0.7596 MB / 0.5116 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.4492, allocations: 1.297 MB / 0.5129 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.4492, allocations: 0 / 0.5129 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004479/0.4496, allocations: 95.89 kB / 0.513 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009307/0.4506, allocations: 156.6 kB / 0.5131 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.74e-05/0.4506, allocations: 19.98 kB / 0.5131 GB, free: 6.145 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004584/0.4511, allocations: 0.6406 MB / 0.5138 GB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4511, allocations: 4.031 kB / 0.5138 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.4529, allocations: 0.9134 MB / 0.5147 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.4531, allocations: 112.9 kB / 0.5148 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.81e-05/0.4531, allocations: 12 kB / 0.5148 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/0.4535, allocations: 19.98 kB / 0.5148 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.209e-05/0.4536, allocations: 32.39 kB / 0.5148 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.903e-05/0.4537, allocations: 35.97 kB / 0.5149 GB, free: 4.309 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002998/0.454, allocations: 257.9 kB / 0.5151 GB, free: 4.055 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.454, allocations: 0 / 0.5151 GB, free: 4.055 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003374/0.4574, allocations: 1.333 MB / 0.5164 GB, free: 2.719 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.008132/0.4656, allocations: 3.052 MB / 0.5194 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001772/0.4674, allocations: 0.8115 MB / 0.5202 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4674, allocations: 0 / 0.5202 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006295/0.468, allocations: 291.2 kB / 0.5205 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.4696, allocations: 277.8 kB / 0.5207 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.4798, allocations: 5.315 MB / 0.5259 GB, free: 8.754 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005316/0.4803, allocations: 0.8365 MB / 0.5267 GB, free: 7.891 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005809/0.4809, allocations: 140.2 kB / 0.5269 GB, free: 7.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.4813, allocations: 159.4 kB / 0.527 GB, free: 7.594 MB / 462.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4813, allocations: 0 / 0.527 GB, free: 7.594 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2667/0.7479, allocations: 50.4 MB / 0.5762 GB, free: 101.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/15.24, allocations: 11.09 kB / 0.5762 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