Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 104.7 kB / 17.15 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.182/1.182, allocations: 205.1 MB / 223.9 MB, free: 12.46 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 55.92 kB / 280.1 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07436/0.07543, allocations: 46.63 MB / 326.7 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03054/0.106, allocations: 37.25 MB / 363.9 MB, free: 15.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.165/0.271, allocations: 31.57 MB / 395.5 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005164/0.2716, allocations: 8.656 kB / 395.5 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009228/0.2726, allocations: 347.2 kB / 395.9 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008443/0.2734, allocations: 0.5076 MB / 396.4 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01242/0.2859, allocations: 4.15 MB / 400.5 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001819/0.2877, allocations: 2.044 MB / 402.6 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.2879, allocations: 128.3 kB / 402.7 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005719/0.2885, allocations: 469.4 kB / 403.1 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004171/0.2889, allocations: 457.9 kB / 403.6 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.153e-05/0.289, allocations: 28.06 kB / 403.6 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04531/0.3343, allocations: 35.3 MB / 438.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003359/0.3347, allocations: 131.1 kB / 439 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006514/0.3353, allocations: 291.2 kB / 439.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06649/0.4018, allocations: 26.17 MB / 465.5 MB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4019, allocations: 0 / 465.5 MB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4019, allocations: 0 / 465.5 MB, free: 3.887 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.4019, allocations: 0 / 465.5 MB, free: 3.887 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.006731/0.4086, allocations: 1.42 MB / 466.9 MB, free: 2.422 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.4087, allocations: 15.97 kB / 466.9 MB, free: 2.406 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.636e-05/0.4088, allocations: 86.53 kB / 467 MB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006214/0.4094, allocations: 95.3 kB / 467.1 MB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/0.4098, allocations: 380.8 kB / 467.5 MB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.4099, allocations: 33 kB / 467.5 MB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.4099, allocations: 51.89 kB / 467.6 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.411, allocations: 0.6244 MB / 468.2 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.411, allocations: 0 / 468.2 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/0.4111, allocations: 27.94 kB / 468.2 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.4111, allocations: 12 kB / 468.2 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009017/0.412, allocations: 0.5191 MB / 468.7 MB, free: 0.5117 MB / 366.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.003533/0.4155, allocations: 3.807 MB / 472.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008134/0.4164, allocations: 416.7 kB / 473 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.4166, allocations: 213.3 kB / 473.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00288/0.4195, allocations: 3.456 MB / 476.6 MB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.4196, allocations: 34.94 kB / 476.7 MB, free: 7.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 1.954e-06/0.4196, allocations: 7.938 kB / 476.7 MB, free: 7.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.008537/0.4281, allocations: 2.015 MB / 478.7 MB, free: 5.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.4282, allocations: 55.84 kB / 478.7 MB, free: 5.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.4285, allocations: 312.4 kB / 479 MB, free: 5.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.4285, allocations: 41.58 kB / 479.1 MB, free: 5.086 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.4286, allocations: 234.9 kB / 479.3 MB, free: 4.855 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.4287, allocations: 188.6 kB / 479.5 MB, free: 4.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.4289, allocations: 114.3 kB / 479.6 MB, free: 4.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.429, allocations: 354.7 kB / 480 MB, free: 4.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.4293, allocations: 177.2 kB / 480.1 MB, free: 4.027 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.4297, allocations: 333.8 kB / 480.5 MB, free: 3.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006922/0.4304, allocations: 0.5446 MB / 481 MB, free: 3.043 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.4304, allocations: 4 kB / 481 MB, free: 3.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001124/0.4315, allocations: 0.6772 MB / 481.7 MB, free: 2.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.4315, allocations: 8 kB / 481.7 MB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4315, allocations: 4 kB / 481.7 MB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009005/0.4406, allocations: 450.6 kB / 482.1 MB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005076/0.4411, allocations: 139.8 kB / 482.3 MB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.4428, allocations: 2.998 MB / 485.3 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.4431, allocations: 44.02 kB / 485.3 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.4432, allocations: 27.98 kB / 485.3 MB, free: 14.47 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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 {1} * 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002217/0.4434, allocations: 186.2 kB / 485.5 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.569e-05/0.4435, allocations: 43.53 kB / 485.6 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.4449, allocations: 1.067 MB / 486.6 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.445, allocations: 19.92 kB / 486.6 MB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.445, allocations: 0 / 486.6 MB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001071/0.4461, allocations: 1.087 MB / 487.7 MB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.448, allocations: 1.737 MB / 489.5 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.448, allocations: 0 / 489.5 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/0.4484, allocations: 99.83 kB / 489.6 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003051/0.4514, allocations: 353.1 kB / 489.9 MB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.4515, allocations: 12 kB / 489.9 MB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00058/0.4521, allocations: 1.148 MB / 491.1 MB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4521, allocations: 192 / 491.1 MB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.4534, allocations: 1.127 MB / 492.2 MB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.823e-05/0.4535, allocations: 120.4 kB / 492.3 MB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.059e-05/0.4535, allocations: 19.97 kB / 492.3 MB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.4538, allocations: 35.91 kB / 492.4 MB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.4539, allocations: 40.5 kB / 492.4 MB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.4539, allocations: 19.98 kB / 492.4 MB, free: 7.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002206/0.4542, allocations: 251 kB / 492.7 MB, free: 6.887 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4542, allocations: 0 / 492.7 MB, free: 6.887 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004851/0.459, allocations: 0.9604 MB / 493.6 MB, free: 5.926 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.03948/0.4985, allocations: 9.431 MB / 0.4913 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001541/0.5001, allocations: 0.7176 MB / 0.492 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.5001, allocations: 4 kB / 0.492 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005641/0.5007, allocations: 363.5 kB / 0.4923 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.5019, allocations: 256.5 kB / 0.4926 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009245/0.5112, allocations: 5.599 MB / 0.498 GB, free: 5.496 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.5116, allocations: 0.8687 MB / 0.4989 GB, free: 4.602 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004956/0.5121, allocations: 252.5 kB / 0.4991 GB, free: 4.355 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/0.5123, allocations: 199.4 kB / 0.4993 GB, free: 4.16 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.5123, allocations: 8 kB / 0.4993 GB, free: 4.152 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.215/2.727, allocations: 41.32 MB / 0.5397 GB, free: 161.9 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001394/2.727, allocations: 213.2 kB / 0.5399 GB, free: 161.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.943/6.67, allocations: 0 / 0.5399 GB, free: 161.6 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches