Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.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.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001956/0.001956, allocations: 122.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.002541/0.002541, allocations: 202 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.492/1.492, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002672/0.002672, allocations: 63.91 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2574, allocations: 50.54 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03392/0.2914, allocations: 26.68 MB / 435.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0314/0.3228, allocations: 24.89 MB / 460.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003832/0.3232, allocations: 4 kB / 460.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009851/0.3242, allocations: 290.4 kB / 460.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.3253, allocations: 369.8 kB / 461 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01184/0.3371, allocations: 4.027 MB / 465 MB, free: 9.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001451/0.3386, allocations: 0.9503 MB / 466 MB, free: 8.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002787/0.3389, allocations: 109 kB / 466.1 MB, free: 8.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008892/0.3398, allocations: 390.6 kB / 466.5 MB, free: 7.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005638/0.3404, allocations: 298.8 kB / 466.7 MB, free: 7.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.3405, allocations: 36 kB / 466.8 MB, free: 7.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01959/0.3601, allocations: 10.42 MB / 477.2 MB, free: 12.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002773/0.3604, allocations: 111.6 kB / 477.3 MB, free: 12.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004262/0.3609, allocations: 227.1 kB / 477.5 MB, free: 12.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02771/0.3886, allocations: 11.51 MB / 489 MB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3886, allocations: 0 / 489 MB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3886, allocations: 0 / 489 MB, free: 1.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.3887, allocations: 0 / 489 MB, free: 1.016 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.006042/0.3947, allocations: 1.181 MB / 490.2 MB, free: 15.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3948, allocations: 8.031 kB / 490.2 MB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.48e-05/0.3948, allocations: 70.53 kB / 490.3 MB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005732/0.3954, allocations: 75.72 kB / 490.4 MB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/0.396, allocations: 326.3 kB / 490.7 MB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.396, allocations: 28.66 kB / 490.7 MB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-05/0.3961, allocations: 31.94 kB / 490.8 MB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009508/0.3971, allocations: 467.7 kB / 491.2 MB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.3971, allocations: 3.953 kB / 491.2 MB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.3971, allocations: 19.94 kB / 491.2 MB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.3972, allocations: 8 kB / 491.2 MB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007832/0.398, allocations: 386.3 kB / 491.6 MB, free: 14.3 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003863/0.4018, allocations: 2.945 MB / 494.6 MB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007044/0.4025, allocations: 290.8 kB / 494.8 MB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.4028, allocations: 136.8 kB / 495 MB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002691/0.4055, allocations: 2.462 MB / 497.4 MB, free: 7.727 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.4056, allocations: 42.5 kB / 497.5 MB, free: 7.676 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.144e-06/0.4056, allocations: 0 / 497.5 MB, free: 7.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005431/0.411, allocations: 1.298 MB / 498.8 MB, free: 6.301 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.4111, allocations: 51.41 kB / 498.8 MB, free: 6.238 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/0.4114, allocations: 262.5 kB / 499.1 MB, free: 5.973 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.4115, allocations: 33.7 kB / 499.1 MB, free: 5.934 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.4116, allocations: 192.5 kB / 499.3 MB, free: 5.742 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.4117, allocations: 126.9 kB / 499.4 MB, free: 5.617 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.4119, allocations: 86.08 kB / 499.5 MB, free: 5.527 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.412, allocations: 334.8 kB / 499.8 MB, free: 5.191 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.4123, allocations: 120.8 kB / 500 MB, free: 5.074 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/0.4126, allocations: 230 kB / 0.4885 GB, free: 4.801 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005655/0.4132, allocations: 369.5 kB / 0.4888 GB, free: 4.391 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4132, allocations: 0 / 0.4888 GB, free: 4.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009254/0.4141, allocations: 471 kB / 0.4893 GB, free: 3.918 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.4141, allocations: 4 kB / 0.4893 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.4141, allocations: 4 kB / 0.4893 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005109/0.4193, allocations: 233.4 kB / 0.4895 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.4197, allocations: 87.83 kB / 0.4896 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.4215, allocations: 1.943 MB / 0.4915 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.4218, allocations: 12 kB / 0.4915 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/0.4218, allocations: 19.98 kB / 0.4915 GB, free: 1.449 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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.000251/0.4221, allocations: 165.7 kB / 0.4917 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.4222, allocations: 35.75 kB / 0.4917 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.4233, allocations: 0.6971 MB / 0.4924 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.4234, allocations: 11.98 kB / 0.4924 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.4234, allocations: 0 / 0.4924 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009684/0.4243, allocations: 0.8632 MB / 0.4932 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.4261, allocations: 1.195 MB / 0.4944 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4261, allocations: 0 / 0.4944 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.4264, allocations: 63.91 kB / 0.4945 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00181/0.4282, allocations: 176.6 kB / 0.4946 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.4283, allocations: 8 kB / 0.4946 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004599/0.4287, allocations: 0.5759 MB / 0.4952 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4287, allocations: 3.938 kB / 0.4952 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.4298, allocations: 0.7383 MB / 0.4959 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.43, allocations: 116.8 kB / 0.496 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.747e-05/0.43, allocations: 8 kB / 0.496 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.4302, allocations: 4 kB / 0.496 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.4303, allocations: 27.91 kB / 0.4961 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.4303, allocations: 12.12 kB / 0.4961 GB, free: 12.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002602/0.4306, allocations: 229.9 kB / 0.4963 GB, free: 12.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4306, allocations: 0 / 0.4963 GB, free: 12.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004437/0.4351, allocations: 0.7519 MB / 0.497 GB, free: 11.54 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02658/0.4617, allocations: 7.588 MB / 0.5045 GB, free: 3.918 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.4628, allocations: 473.4 kB / 0.5049 GB, free: 3.441 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4628, allocations: 0 / 0.5049 GB, free: 3.441 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000432/0.4632, allocations: 228.2 kB / 0.5051 GB, free: 3.219 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.4643, allocations: 197.3 kB / 0.5053 GB, free: 3.027 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008805/0.4731, allocations: 4.046 MB / 0.5093 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.4737, allocations: 0.8051 MB / 0.51 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005733/0.4743, allocations: 183 kB / 0.5102 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.4745, allocations: 139.4 kB / 0.5104 GB, free: 13.65 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4745, allocations: 3.938 kB / 0.5104 GB, free: 13.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2659/0.7404, allocations: 33.76 MB / 0.5433 GB, free: 122.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.24, allocations: 6.469 kB / 0.5433 GB, free: 122.8 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_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_R134a_R134a1.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches