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.00115/0.00115, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 59.75 kB / 307 MB, free: 0.4961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08209/0.08329, allocations: 50.54 MB / 357.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1655/0.2488, allocations: 26.66 MB / 384.2 MB, free: 5.492 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0235/0.2723, allocations: 24.9 MB / 409.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003581/0.2727, allocations: 4.625 kB / 409.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007757/0.2735, allocations: 293 kB / 409.4 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007148/0.2743, allocations: 373.7 kB / 409.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01068/0.285, allocations: 4.022 MB / 413.8 MB, free: 436 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.286, allocations: 0.9473 MB / 414.8 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.2862, allocations: 112.8 kB / 414.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004697/0.2867, allocations: 377.8 kB / 415.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003117/0.287, allocations: 309.3 kB / 415.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.806e-05/0.2871, allocations: 41.78 kB / 415.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01803/0.3051, allocations: 10.41 MB / 426 MB, free: 6.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.3054, allocations: 103.7 kB / 426.1 MB, free: 6.203 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003533/0.3057, allocations: 227.1 kB / 426.3 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03115/0.3369, allocations: 11.48 MB / 437.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3369, allocations: 0 / 437.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.3369, allocations: 0 / 437.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.337, allocations: 7.938 kB / 437.8 MB, free: 10.48 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.005565/0.3425, allocations: 1.139 MB / 438.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3426, allocations: 8.031 kB / 439 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.838e-05/0.3427, allocations: 71.41 kB / 439 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005406/0.3432, allocations: 67.5 kB / 439.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.3436, allocations: 322.3 kB / 439.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.3436, allocations: 20.66 kB / 439.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.187e-05/0.3437, allocations: 35.91 kB / 439.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008501/0.3446, allocations: 467.7 kB / 439.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.3446, allocations: 0 / 439.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.3446, allocations: 16 kB / 439.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.3446, allocations: 8 kB / 439.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007239/0.3454, allocations: 391 kB / 440.3 MB, free: 7.828 MB / 350.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.003346/0.3487, allocations: 2.956 MB / 443.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006412/0.3494, allocations: 306 kB / 443.6 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.3496, allocations: 132.8 kB / 443.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002276/0.3519, allocations: 2.462 MB / 446.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.3519, allocations: 38.56 kB / 446.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.3519, allocations: 0 / 446.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.005174/0.3571, allocations: 1.288 MB / 447.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.3572, allocations: 55.41 kB / 447.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.3574, allocations: 262.5 kB / 447.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.3575, allocations: 29.7 kB / 447.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.3576, allocations: 196 kB / 448 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.43e-05/0.3577, allocations: 118.3 kB / 448.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.3578, allocations: 89.97 kB / 448.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.358, allocations: 338.8 kB / 448.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.3582, allocations: 108.8 kB / 448.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.3585, allocations: 230 kB / 448.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005223/0.359, allocations: 381.5 kB / 449.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.359, allocations: 3.938 kB / 449.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008239/0.3598, allocations: 462.6 kB / 449.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3599, allocations: 8 kB / 449.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3599, allocations: 0 / 449.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004859/0.3647, allocations: 237.8 kB / 450 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.3651, allocations: 91.89 kB / 450 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.3665, allocations: 1.943 MB / 452 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.3667, allocations: 8 kB / 452 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/0.3667, allocations: 23.98 kB / 452 MB, free: 10.97 MB / 366.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.0001878/0.3669, allocations: 169.8 kB / 452.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.437e-05/0.367, allocations: 35.56 kB / 452.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.3681, allocations: 0.6872 MB / 452.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.3681, allocations: 9.109 kB / 452.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.3681, allocations: 0 / 452.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008312/0.369, allocations: 0.8672 MB / 453.8 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.3704, allocations: 1.19 MB / 455 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3704, allocations: 0 / 455 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.3707, allocations: 63.91 kB / 455 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001571/0.3722, allocations: 172.6 kB / 455.2 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.3723, allocations: 15.98 kB / 455.2 MB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003537/0.3726, allocations: 0.5758 MB / 455.8 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.3727, allocations: 3.938 kB / 455.8 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009422/0.3736, allocations: 0.729 MB / 456.5 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-05/0.3737, allocations: 112.6 kB / 456.6 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.153e-05/0.3738, allocations: 12 kB / 456.6 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.374, allocations: 8 kB / 456.7 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.374, allocations: 32.06 kB / 456.7 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.374, allocations: 8 kB / 456.7 MB, free: 6.059 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002227/0.3743, allocations: 225.9 kB / 456.9 MB, free: 5.836 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3743, allocations: 3.938 kB / 456.9 MB, free: 5.832 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004006/0.3783, allocations: 0.7457 MB / 457.7 MB, free: 5.086 MB / 366.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.03544/0.4137, allocations: 7.574 MB / 465.2 MB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.4149, allocations: 497.4 kB / 465.7 MB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4149, allocations: 0 / 465.7 MB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004002/0.4153, allocations: 220.2 kB / 465.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.4164, allocations: 196.8 kB / 466.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007615/0.4241, allocations: 4.049 MB / 470.2 MB, free: 8.336 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.4245, allocations: 0.8047 MB / 471 MB, free: 7.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004973/0.425, allocations: 195.6 kB / 471.2 MB, free: 7.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.4252, allocations: 135.4 kB / 471.3 MB, free: 7.184 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4252, allocations: 0 / 471.3 MB, free: 7.184 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06409/0.4893, allocations: 33.59 MB / 0.4931 GB, free: 5.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.53, allocations: 12.31 kB / 0.4931 GB, free: 5.633 MB / 414.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