Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 121.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2391, allocations: 50.55 MB / 408.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06526/0.3044, allocations: 50.65 MB / 459.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.3151, allocations: 5.187 MB / 464.6 MB, free: 9.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004275/0.3155, allocations: 4 kB / 464.6 MB, free: 9.477 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001301/0.3169, allocations: 250.5 kB / 464.9 MB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.3183, allocations: 366 kB / 465.2 MB, free: 8.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03248/0.3508, allocations: 7.134 MB / 472.4 MB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002368/0.3532, allocations: 1.087 MB / 473.4 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004592/0.3537, allocations: 149.5 kB / 473.6 MB, free: 0.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0118/0.3655, allocations: 3.593 MB / 477.2 MB, free: 12.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.3667, allocations: 398.6 kB / 477.6 MB, free: 12.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002073/0.3669, allocations: 60 kB / 477.6 MB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03266/0.3996, allocations: 9.959 MB / 487.6 MB, free: 2.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005961/0.4003, allocations: 227.4 kB / 487.8 MB, free: 2.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006219/0.4009, allocations: 306.9 kB / 488.1 MB, free: 1.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01283/0.4138, allocations: 5.522 MB / 493.6 MB, free: 12.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4138, allocations: 4 kB / 493.6 MB, free: 12.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4139, allocations: 0 / 493.6 MB, free: 12.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.54e-05/0.4139, allocations: 0 / 493.6 MB, free: 12.41 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.003886/0.4178, allocations: 1.406 MB / 495 MB, free: 10.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.4178, allocations: 12.03 kB / 495.1 MB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001422/0.418, allocations: 90.52 kB / 495.1 MB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003788/0.4184, allocations: 59.7 kB / 495.2 MB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005688/0.419, allocations: 367 kB / 495.6 MB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/0.419, allocations: 33 kB / 495.6 MB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.921e-05/0.4191, allocations: 44 kB / 495.6 MB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.4205, allocations: 0.5804 MB / 496.2 MB, free: 9.715 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.82e-05/0.4206, allocations: 4 kB / 496.2 MB, free: 9.711 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.066e-05/0.4206, allocations: 24 kB / 496.2 MB, free: 9.688 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.4207, allocations: 8 kB / 496.3 MB, free: 9.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.4221, allocations: 0.7417 MB / 497 MB, free: 8.941 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01889/0.441, allocations: 11.98 MB / 0.497 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.4425, allocations: 0.5235 MB / 0.4976 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004259/0.443, allocations: 264.9 kB / 0.4978 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01641/0.4594, allocations: 11.9 MB / 0.5094 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.19e-05/0.4595, allocations: 43 kB / 0.5095 GB, free: 11.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 2.495e-06/0.4595, allocations: 0 / 0.5095 GB, free: 11.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.006056/0.4655, allocations: 2.125 MB / 0.5115 GB, free: 9.613 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.4656, allocations: 55.97 kB / 0.5116 GB, free: 9.543 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/0.466, allocations: 319 kB / 0.5119 GB, free: 9.227 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.719e-05/0.4661, allocations: 33.7 kB / 0.5119 GB, free: 9.188 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.4662, allocations: 208.7 kB / 0.5121 GB, free: 8.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.4664, allocations: 202.3 kB / 0.5123 GB, free: 8.781 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.4666, allocations: 114.2 kB / 0.5124 GB, free: 8.664 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4667, allocations: 346.8 kB / 0.5128 GB, free: 8.316 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.4671, allocations: 241 kB / 0.513 GB, free: 8.082 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006553/0.4678, allocations: 343.3 kB / 0.5133 GB, free: 7.711 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.469, allocations: 0.5956 MB / 0.5139 GB, free: 7.082 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.469, allocations: 0 / 0.5139 GB, free: 7.082 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001851/0.4709, allocations: 0.752 MB / 0.5146 GB, free: 6.316 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.4709, allocations: 11.94 kB / 0.5147 GB, free: 6.305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.4709, allocations: 4 kB / 0.5147 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004784/0.4714, allocations: 102.5 kB / 0.5148 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000524/0.472, allocations: 128 kB / 0.5149 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/0.4749, allocations: 3.472 MB / 0.5183 GB, free: 2.289 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.4752, allocations: 23.95 kB / 0.5183 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.935e-05/0.4753, allocations: 24 kB / 0.5183 GB, free: 2.242 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.0002714/0.4756, allocations: 193.7 kB / 0.5185 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/0.4759, allocations: 47.72 kB / 0.5185 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.4775, allocations: 0.8192 MB / 0.5193 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4775, allocations: 4 kB / 0.5193 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.4775, allocations: 0 / 0.5193 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001215/0.4788, allocations: 0.7674 MB / 0.5201 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/0.4809, allocations: 1.297 MB / 0.5214 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.4809, allocations: 4 kB / 0.5214 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004608/0.4814, allocations: 107.8 kB / 0.5215 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009698/0.4824, allocations: 152.7 kB / 0.5216 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.4824, allocations: 12 kB / 0.5216 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004547/0.4829, allocations: 0.6485 MB / 0.5223 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.4829, allocations: 3.984 kB / 0.5223 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.4846, allocations: 0.9134 MB / 0.5232 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.4848, allocations: 109 kB / 0.5233 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.85e-05/0.4848, allocations: 12 kB / 0.5233 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003987/0.4853, allocations: 19.98 kB / 0.5233 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.236e-05/0.4853, allocations: 40.39 kB / 0.5233 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.166e-05/0.4854, allocations: 36.06 kB / 0.5234 GB, free: 12.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000294/0.4857, allocations: 253.9 kB / 0.5236 GB, free: 12.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4857, allocations: 0 / 0.5236 GB, free: 12.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003569/0.4893, allocations: 1.337 MB / 0.5249 GB, free: 11.23 MB / 462.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.006905/0.4962, allocations: 3.049 MB / 0.5279 GB, free: 8.145 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.4977, allocations: 0.8114 MB / 0.5287 GB, free: 7.305 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.4977, allocations: 4 kB / 0.5287 GB, free: 7.301 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005752/0.4983, allocations: 291.9 kB / 0.529 GB, free: 7.016 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.4996, allocations: 277.2 kB / 0.5292 GB, free: 6.746 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00866/0.5083, allocations: 5.33 MB / 0.5344 GB, free: 1.242 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/0.5088, allocations: 0.8365 MB / 0.5353 GB, free: 388 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005051/0.5093, allocations: 152.1 kB / 0.5354 GB, free: 232 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002626/0.5096, allocations: 155.4 kB / 0.5355 GB, free: 76 kB / 462.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5096, allocations: 0 / 0.5355 GB, free: 76 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2522/0.7618, allocations: 50.61 MB / 0.585 GB, free: 89.31 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.8/15.56, allocations: 13.83 kB / 0.585 GB, free: 89.3 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches