Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001093/0.001093, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.001191, allocations: 208.6 kB / 18.58 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 58.94 kB / 307 MB, free: 0.5781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0876/0.08886, allocations: 50.53 MB / 357.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2045/0.2934, allocations: 65.71 MB / 423.3 MB, free: 9.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00672/0.3002, allocations: 5.462 MB / 428.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005021/0.3007, allocations: 4 kB / 428.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.3018, allocations: 354 kB / 429.1 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.303, allocations: 0.5128 MB / 429.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01974/0.3227, allocations: 7.432 MB / 437 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001886/0.3246, allocations: 1.547 MB / 438.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003804/0.325, allocations: 225.2 kB / 438.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.3261, allocations: 0.6191 MB / 439.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009047/0.327, allocations: 0.5644 MB / 440 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002118/0.3272, allocations: 84 kB / 440.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01846/0.3457, allocations: 10.06 MB / 450.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005106/0.3463, allocations: 311.3 kB / 450.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007738/0.3471, allocations: 446.3 kB / 450.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01562/0.3627, allocations: 5.945 MB / 456.8 MB, free: 8.062 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.3627, allocations: 8 kB / 456.8 MB, free: 8.055 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3628, allocations: 0 / 456.8 MB, free: 8.055 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.853e-05/0.3628, allocations: 0 / 456.8 MB, free: 8.055 MB / 366.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.004004/0.3668, allocations: 1.564 MB / 458.4 MB, free: 6.441 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3669, allocations: 12.03 kB / 458.4 MB, free: 6.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000181/0.3671, allocations: 106.5 kB / 458.5 MB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004876/0.3675, allocations: 88.11 kB / 458.6 MB, free: 6.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006578/0.3682, allocations: 432.8 kB / 459 MB, free: 5.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.364e-05/0.3683, allocations: 49.31 kB / 459.1 MB, free: 5.719 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.3684, allocations: 67.91 kB / 459.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.3702, allocations: 0.8029 MB / 459.9 MB, free: 4.844 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.3702, allocations: 8 kB / 459.9 MB, free: 4.836 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-05/0.3703, allocations: 28 kB / 460 MB, free: 4.809 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.3703, allocations: 12 kB / 460 MB, free: 4.797 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.3722, allocations: 1.032 MB / 461 MB, free: 3.766 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01863/0.3908, allocations: 12.8 MB / 473.8 MB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.3927, allocations: 0.7374 MB / 474.5 MB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006096/0.3933, allocations: 414.6 kB / 475 MB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01516/0.4085, allocations: 12.25 MB / 487.2 MB, free: 5.043 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/0.4085, allocations: 43.22 kB / 487.2 MB, free: 4.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 2.565e-06/0.4086, allocations: 0 / 487.2 MB, free: 4.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.009979/0.4185, allocations: 3.388 MB / 490.6 MB, free: 1.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.4186, allocations: 60.41 kB / 490.7 MB, free: 1.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004096/0.419, allocations: 364.4 kB / 491 MB, free: 1.082 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.961e-05/0.4191, allocations: 45.7 kB / 491.1 MB, free: 1.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.4193, allocations: 228.8 kB / 491.3 MB, free: 0.8008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/0.4195, allocations: 311.4 kB / 491.6 MB, free: 0.4922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002403/0.4198, allocations: 158.6 kB / 491.8 MB, free: 340 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.42, allocations: 366.8 kB / 492.1 MB, free: 15.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005936/0.4206, allocations: 369.8 kB / 492.5 MB, free: 15.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009843/0.4215, allocations: 496.2 kB / 493 MB, free: 15.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.4234, allocations: 0.8982 MB / 493.9 MB, free: 14.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.4234, allocations: 0 / 493.9 MB, free: 14.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002689/0.4261, allocations: 1.117 MB / 495 MB, free: 13.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.4261, allocations: 11.94 kB / 495 MB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.4261, allocations: 0 / 495 MB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008121/0.4269, allocations: 167.5 kB / 495.2 MB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007531/0.4277, allocations: 187.8 kB / 495.3 MB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/0.4308, allocations: 4.113 MB / 499.5 MB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004085/0.4312, allocations: 23.98 kB / 499.5 MB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.862e-05/0.4313, allocations: 43.98 kB / 499.5 MB, free: 8.141 MB / 414.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.0004349/0.4317, allocations: 230.8 kB / 499.8 MB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004174/0.4322, allocations: 63.34 kB / 499.8 MB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/0.4345, allocations: 1.277 MB / 0.4893 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.4346, allocations: 11.94 kB / 0.4894 GB, free: 6.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.4346, allocations: 11.88 kB / 0.4894 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001796/0.4364, allocations: 1.324 MB / 0.4907 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/0.4397, allocations: 1.971 MB / 0.4926 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.4397, allocations: 3.984 kB / 0.4926 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007168/0.4404, allocations: 163.8 kB / 0.4927 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001825/0.4422, allocations: 293.2 kB / 0.493 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.221e-05/0.4423, allocations: 31.98 kB / 0.4931 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007584/0.4431, allocations: 1.285 MB / 0.4943 GB, free: 1.195 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4431, allocations: 0 / 0.4943 GB, free: 1.195 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002622/0.4457, allocations: 1.417 MB / 0.4957 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.4459, allocations: 128.6 kB / 0.4958 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.446, allocations: 20.09 kB / 0.4958 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005527/0.4466, allocations: 35.97 kB / 0.4959 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.4467, allocations: 52.94 kB / 0.4959 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.757e-05/0.4468, allocations: 47.95 kB / 0.496 GB, free: 15.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003185/0.4471, allocations: 283 kB / 0.4962 GB, free: 15.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4471, allocations: 0 / 0.4962 GB, free: 15.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003614/0.4507, allocations: 1.409 MB / 0.4976 GB, free: 13.77 MB / 430.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.008569/0.4593, allocations: 3.597 MB / 0.5011 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002644/0.462, allocations: 1.261 MB / 0.5024 GB, free: 8.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.462, allocations: 0 / 0.5024 GB, free: 8.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008974/0.4629, allocations: 0.4919 MB / 0.5028 GB, free: 8.344 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.4649, allocations: 389 kB / 0.5032 GB, free: 7.973 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.4768, allocations: 7.182 MB / 0.5102 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005255/0.4773, allocations: 0.905 MB / 0.5111 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008144/0.4782, allocations: 213.1 kB / 0.5113 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003678/0.4785, allocations: 227.4 kB / 0.5115 GB, free: 15.26 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4785, allocations: 0 / 0.5115 GB, free: 15.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2295/0.708, allocations: 56.85 MB / 0.567 GB, free: 124.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.75, allocations: 3.984 kB / 0.5671 GB, free: 124.4 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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.000404 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches