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.001119/0.001119, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2251, allocations: 50.55 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.0272/0.2523, allocations: 26.68 MB / 435.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02511/0.2775, allocations: 24.89 MB / 460.3 MB, free: 13.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003726/0.2779, allocations: 7.938 kB / 460.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009073/0.2788, allocations: 310.3 kB / 460.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009126/0.2798, allocations: 381.9 kB / 461 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01071/0.2905, allocations: 4.089 MB / 465.1 MB, free: 8.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.2917, allocations: 0.9464 MB / 466.1 MB, free: 8.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.2919, allocations: 120.4 kB / 466.2 MB, free: 7.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006733/0.2926, allocations: 386.6 kB / 466.5 MB, free: 7.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004261/0.293, allocations: 306.8 kB / 466.8 MB, free: 7.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.96e-05/0.2931, allocations: 36 kB / 466.9 MB, free: 7.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01657/0.3097, allocations: 10.43 MB / 477.3 MB, free: 12.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.3099, allocations: 103.7 kB / 477.4 MB, free: 12.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003782/0.3103, allocations: 231.1 kB / 477.6 MB, free: 12.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02422/0.3346, allocations: 11.51 MB / 489.1 MB, free: 0.9141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3346, allocations: 0 / 489.1 MB, free: 0.9141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3346, allocations: 0 / 489.1 MB, free: 0.9141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.3346, allocations: 0 / 489.1 MB, free: 0.9141 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.005558/0.3402, allocations: 1.173 MB / 490.3 MB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3403, allocations: 15.97 kB / 490.3 MB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.04e-05/0.3404, allocations: 70.53 kB / 490.4 MB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000562/0.3409, allocations: 67.73 kB / 490.5 MB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/0.3414, allocations: 334.4 kB / 490.8 MB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.3415, allocations: 24.66 kB / 490.8 MB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.829e-05/0.3415, allocations: 35.94 kB / 490.9 MB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008819/0.3424, allocations: 463.8 kB / 491.3 MB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.3424, allocations: 3.953 kB / 491.3 MB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.3425, allocations: 19.94 kB / 491.3 MB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.3425, allocations: 12 kB / 491.3 MB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007262/0.3432, allocations: 382.3 kB / 491.7 MB, free: 14.2 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.00364/0.3469, allocations: 2.949 MB / 494.7 MB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006493/0.3476, allocations: 297.6 kB / 495 MB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.3478, allocations: 132.8 kB / 495.1 MB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002216/0.35, allocations: 2.462 MB / 497.5 MB, free: 7.625 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.3501, allocations: 38.56 kB / 497.6 MB, free: 7.578 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.184e-06/0.3501, allocations: 0 / 497.6 MB, free: 7.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005357/0.3554, allocations: 1.302 MB / 498.9 MB, free: 6.199 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.3555, allocations: 55.41 kB / 498.9 MB, free: 6.133 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.3558, allocations: 262.6 kB / 499.2 MB, free: 5.867 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.3558, allocations: 29.7 kB / 499.2 MB, free: 5.832 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.3559, allocations: 188.4 kB / 499.4 MB, free: 5.645 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.076e-05/0.356, allocations: 134.9 kB / 499.5 MB, free: 5.512 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.3562, allocations: 86.08 kB / 499.6 MB, free: 5.422 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3563, allocations: 338.8 kB / 500 MB, free: 5.082 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.3565, allocations: 108.8 kB / 0.4883 GB, free: 4.977 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.3568, allocations: 230 kB / 0.4886 GB, free: 4.703 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004924/0.3573, allocations: 377.5 kB / 0.4889 GB, free: 4.285 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3573, allocations: 0 / 0.4889 GB, free: 4.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008133/0.3581, allocations: 462.9 kB / 0.4894 GB, free: 3.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3581, allocations: 11.94 kB / 0.4894 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.3581, allocations: 4 kB / 0.4894 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0049/0.3631, allocations: 233.4 kB / 0.4896 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.3634, allocations: 87.89 kB / 0.4897 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.3649, allocations: 1.943 MB / 0.4916 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.3652, allocations: 16 kB / 0.4916 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.751e-05/0.3652, allocations: 19.98 kB / 0.4916 GB, free: 1.34 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.0002248/0.3655, allocations: 165.7 kB / 0.4918 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.3656, allocations: 35.75 kB / 0.4918 GB, free: 1.133 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.3666, allocations: 0.6933 MB / 0.4925 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.3667, allocations: 7.984 kB / 0.4925 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3667, allocations: 0 / 0.4925 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000852/0.3675, allocations: 0.871 MB / 0.4933 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.3691, allocations: 1.183 MB / 0.4945 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.3691, allocations: 0 / 0.4945 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.3693, allocations: 67.84 kB / 0.4946 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001577/0.3709, allocations: 172.6 kB / 0.4947 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.371, allocations: 15.98 kB / 0.4947 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003524/0.3713, allocations: 0.568 MB / 0.4953 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.3714, allocations: 3.938 kB / 0.4953 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009642/0.3723, allocations: 0.7344 MB / 0.496 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3724, allocations: 116.8 kB / 0.4961 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.695e-05/0.3725, allocations: 8 kB / 0.4961 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.3727, allocations: 8 kB / 0.4961 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.3728, allocations: 32 kB / 0.4962 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.3728, allocations: 12 kB / 0.4962 GB, free: 12.42 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002221/0.373, allocations: 221.9 kB / 0.4964 GB, free: 12.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.373, allocations: 0 / 0.4964 GB, free: 12.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00397/0.377, allocations: 0.7597 MB / 0.4971 GB, free: 11.44 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.02561/0.4026, allocations: 7.592 MB / 0.5046 GB, free: 3.812 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009827/0.4037, allocations: 473.4 kB / 0.505 GB, free: 3.336 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4037, allocations: 0 / 0.505 GB, free: 3.336 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004062/0.4041, allocations: 225.7 kB / 0.5052 GB, free: 3.117 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.4052, allocations: 204.5 kB / 0.5054 GB, free: 2.918 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007486/0.4127, allocations: 4.044 MB / 0.5094 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.4131, allocations: 0.8012 MB / 0.5101 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003989/0.4135, allocations: 194.9 kB / 0.5103 GB, free: 13.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.4137, allocations: 131.4 kB / 0.5105 GB, free: 13.54 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4137, allocations: 0 / 0.5105 GB, free: 13.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3338/0.7476, allocations: 33.75 MB / 0.5434 GB, free: 122.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/13.17, allocations: 0.8438 kB / 0.5434 GB, free: 122.9 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.0.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