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.001429/0.001429, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00181/0.00181, allocations: 204.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.41 kB / 307 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0883/0.08956, allocations: 50.53 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1963/0.2859, allocations: 50.66 MB / 408.2 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006716/0.2927, allocations: 5.193 MB / 413.4 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003104/0.293, allocations: 9.156 kB / 413.4 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008342/0.2939, allocations: 247.7 kB / 413.7 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006186/0.2945, allocations: 367.5 kB / 414 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01786/0.3124, allocations: 7.111 MB / 421.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.3137, allocations: 1.099 MB / 422.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/0.3139, allocations: 157.8 kB / 422.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006079/0.32, allocations: 3.586 MB / 426 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004805/0.3205, allocations: 406.6 kB / 426.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.943e-05/0.3206, allocations: 56 kB / 426.4 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01643/0.3371, allocations: 9.791 MB / 436.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003082/0.3374, allocations: 223.5 kB / 436.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000482/0.3379, allocations: 302.9 kB / 436.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.3495, allocations: 5.513 MB / 442.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3495, allocations: 0 / 442.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.3495, allocations: 0 / 442.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.3495, allocations: 3.938 kB / 442.3 MB, free: 6.66 MB / 350.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.003184/0.3527, allocations: 1.362 MB / 443.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3528, allocations: 8.031 kB / 443.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.3529, allocations: 86.47 kB / 443.7 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003288/0.3532, allocations: 63.42 kB / 443.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004692/0.3537, allocations: 366.4 kB / 444.1 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.3537, allocations: 37 kB / 444.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-05/0.3538, allocations: 44 kB / 444.2 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.3551, allocations: 0.5804 MB / 444.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.3551, allocations: 0 / 444.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.628e-05/0.3551, allocations: 24 kB / 444.8 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.3552, allocations: 8 kB / 444.8 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.3565, allocations: 0.7464 MB / 445.6 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02418/0.3807, allocations: 11.98 MB / 457.5 MB, free: 5.195 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/0.383, allocations: 0.5242 MB / 458.1 MB, free: 4.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006908/0.3838, allocations: 258.4 kB / 458.3 MB, free: 4.406 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02649/0.4103, allocations: 11.9 MB / 470.2 MB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.928e-05/0.4104, allocations: 43 kB / 470.3 MB, free: 6.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 4.068e-06/0.4104, allocations: 4 kB / 470.3 MB, free: 6.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.01085/0.4213, allocations: 2.118 MB / 472.4 MB, free: 3.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.4213, allocations: 59.97 kB / 472.4 MB, free: 3.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000621/0.422, allocations: 314.9 kB / 472.8 MB, free: 3.555 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.4221, allocations: 37.7 kB / 472.8 MB, free: 3.512 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.4223, allocations: 208.2 kB / 473 MB, free: 3.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.4226, allocations: 189.3 kB / 473.2 MB, free: 3.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003085/0.4229, allocations: 114.1 kB / 473.3 MB, free: 2.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.4231, allocations: 346.8 kB / 473.6 MB, free: 2.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007358/0.4239, allocations: 237 kB / 473.9 MB, free: 2.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.4252, allocations: 343.3 kB / 474.2 MB, free: 2.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002401/0.4276, allocations: 0.5995 MB / 474.8 MB, free: 1.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.4276, allocations: 0 / 474.8 MB, free: 1.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003778/0.4314, allocations: 0.7556 MB / 475.5 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.4315, allocations: 8 kB / 475.6 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.4315, allocations: 3.938 kB / 475.6 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008984/0.4324, allocations: 114.7 kB / 475.7 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.4335, allocations: 123.8 kB / 475.8 MB, free: 396 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004215/0.4377, allocations: 3.464 MB / 479.3 MB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005232/0.4382, allocations: 12 kB / 479.3 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.4384, allocations: 35.98 kB / 479.3 MB, free: 12.57 MB / 398.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.0004195/0.4388, allocations: 202.7 kB / 479.5 MB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005982/0.4394, allocations: 47.52 kB / 479.5 MB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002885/0.4423, allocations: 0.8153 MB / 480.4 MB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.4424, allocations: 7.938 kB / 480.4 MB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.4424, allocations: 0 / 480.4 MB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002207/0.4446, allocations: 0.7558 MB / 481.1 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002764/0.4474, allocations: 1.301 MB / 482.4 MB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4474, allocations: 0 / 482.4 MB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004524/0.4479, allocations: 103.8 kB / 482.5 MB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009232/0.4488, allocations: 152.7 kB / 482.7 MB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.633e-05/0.4489, allocations: 15.94 kB / 482.7 MB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003809/0.4492, allocations: 0.6485 MB / 483.3 MB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4493, allocations: 0 / 483.3 MB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.4509, allocations: 0.912 MB / 484.3 MB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.451, allocations: 116.7 kB / 484.4 MB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.418e-05/0.4511, allocations: 16.03 kB / 484.4 MB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.4515, allocations: 19.98 kB / 484.4 MB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.4516, allocations: 36.39 kB / 484.4 MB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/0.4517, allocations: 31.92 kB / 484.5 MB, free: 7.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002718/0.4519, allocations: 257.9 kB / 484.7 MB, free: 6.906 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4519, allocations: 0 / 484.7 MB, free: 6.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003611/0.4556, allocations: 1.323 MB / 486 MB, free: 5.582 MB / 398.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.008146/0.4637, allocations: 3.039 MB / 489.1 MB, free: 2.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.4655, allocations: 0.8508 MB / 489.9 MB, free: 1.633 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.4656, allocations: 8.125 kB / 489.9 MB, free: 1.625 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005468/0.4661, allocations: 287.2 kB / 490.2 MB, free: 1.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.4676, allocations: 286.9 kB / 490.5 MB, free: 1.066 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009292/0.4769, allocations: 5.34 MB / 495.8 MB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.4773, allocations: 0.8404 MB / 496.7 MB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000562/0.4779, allocations: 144.2 kB / 496.8 MB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.4782, allocations: 155.4 kB / 497 MB, free: 10.39 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4782, allocations: 3.938 kB / 497 MB, free: 10.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2229/0.7011, allocations: 50.5 MB / 0.5346 GB, free: 151.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.39, allocations: 12.62 kB / 0.5347 GB, free: 151.4 MB / 446.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.0.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