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.001086/0.001086, allocations: 106.5 kB / 17.73 MB, free: 5.367 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.001118/0.001118, allocations: 187 kB / 18.66 MB, free: 4.445 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.279/1.279, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001262/0.001262, allocations: 47.94 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08487/0.08615, allocations: 46.62 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1977/0.2839, allocations: 37.66 MB / 412.3 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03208/0.316, allocations: 30.6 MB / 442.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007023/0.3168, allocations: 12 kB / 442.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.318, allocations: 405.7 kB / 443.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.3191, allocations: 0.5166 MB / 443.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01355/0.3327, allocations: 5.13 MB / 449 MB, free: 5.469 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001697/0.3344, allocations: 1.352 MB / 450.3 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002764/0.3347, allocations: 174.5 kB / 450.5 MB, free: 3.938 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007613/0.3355, allocations: 0.541 MB / 451 MB, free: 3.395 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004613/0.336, allocations: 434.3 kB / 451.5 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.751e-05/0.336, allocations: 56 kB / 451.5 MB, free: 2.914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02244/0.3585, allocations: 12.79 MB / 464.3 MB, free: 6.094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002907/0.3588, allocations: 159.5 kB / 464.5 MB, free: 5.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005032/0.3593, allocations: 318.8 kB / 464.8 MB, free: 5.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03393/0.3933, allocations: 14.91 MB / 479.7 MB, free: 6.699 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.3933, allocations: 0 / 479.7 MB, free: 6.699 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3933, allocations: 0 / 479.7 MB, free: 6.699 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.22e-05/0.3934, allocations: 0 / 479.7 MB, free: 6.699 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.007631/0.401, allocations: 1.424 MB / 481.1 MB, free: 5.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.401, allocations: 15.89 kB / 481.1 MB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.994e-05/0.4012, allocations: 86.52 kB / 481.2 MB, free: 5.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000713/0.4019, allocations: 95.33 kB / 481.3 MB, free: 5.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005788/0.4025, allocations: 393.8 kB / 481.7 MB, free: 4.598 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.4025, allocations: 37 kB / 481.7 MB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.357e-05/0.4026, allocations: 47.91 kB / 481.8 MB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.4037, allocations: 0.6244 MB / 482.4 MB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.4037, allocations: 4 kB / 482.4 MB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.833e-05/0.4037, allocations: 20 kB / 482.4 MB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.4038, allocations: 12 kB / 482.4 MB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009302/0.4047, allocations: 0.5307 MB / 483 MB, free: 3.277 MB / 398.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.003946/0.4087, allocations: 3.804 MB / 486.8 MB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008653/0.4095, allocations: 415.7 kB / 487.2 MB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.4098, allocations: 209.2 kB / 487.4 MB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003092/0.4129, allocations: 3.463 MB / 490.8 MB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.413, allocations: 34.94 kB / 490.9 MB, free: 10.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 2.204e-06/0.413, allocations: 0 / 490.9 MB, free: 10.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009322/0.4223, allocations: 2.027 MB / 492.9 MB, free: 8.234 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.4224, allocations: 59.78 kB / 493 MB, free: 8.164 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/0.4228, allocations: 308.5 kB / 493.3 MB, free: 7.852 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.4228, allocations: 37.69 kB / 493.3 MB, free: 7.809 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.423, allocations: 232.6 kB / 493.5 MB, free: 7.578 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.4231, allocations: 193.2 kB / 493.7 MB, free: 7.387 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.4233, allocations: 114.3 kB / 493.8 MB, free: 7.266 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4234, allocations: 346.8 kB / 494.2 MB, free: 6.918 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.4237, allocations: 177.2 kB / 494.3 MB, free: 6.746 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/0.4242, allocations: 336.6 kB / 494.7 MB, free: 6.359 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007611/0.4249, allocations: 0.5507 MB / 495.2 MB, free: 5.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.4249, allocations: 4 kB / 495.2 MB, free: 5.746 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001221/0.4262, allocations: 0.6656 MB / 495.9 MB, free: 5.062 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.4262, allocations: 11.94 kB / 495.9 MB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.4262, allocations: 7.938 kB / 495.9 MB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/0.4363, allocations: 454.5 kB / 496.3 MB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006405/0.4369, allocations: 139.8 kB / 496.5 MB, free: 4.453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/0.4391, allocations: 3.085 MB / 499.6 MB, free: 1.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/0.4395, allocations: 24.75 kB / 499.6 MB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.525e-05/0.4396, allocations: 27.98 kB / 499.6 MB, free: 1.102 MB / 414.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.0002812/0.4399, allocations: 189.8 kB / 499.8 MB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.4401, allocations: 39.53 kB / 499.8 MB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/0.4416, allocations: 1.052 MB / 0.4892 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.4416, allocations: 11.98 kB / 0.4892 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.4416, allocations: 0 / 0.4892 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001175/0.4428, allocations: 1.099 MB / 0.4902 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002211/0.445, allocations: 1.735 MB / 0.4919 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.4451, allocations: 0 / 0.4919 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003979/0.4455, allocations: 103.8 kB / 0.492 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003377/0.4489, allocations: 345 kB / 0.4924 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.147e-05/0.4489, allocations: 19.98 kB / 0.4924 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007087/0.4496, allocations: 1.136 MB / 0.4935 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4497, allocations: 0 / 0.4935 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.4512, allocations: 1.132 MB / 0.4946 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.4514, allocations: 120.7 kB / 0.4947 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.619e-05/0.4514, allocations: 20 kB / 0.4947 GB, free: 9.852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.4517, allocations: 15.94 kB / 0.4947 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.4518, allocations: 36.64 kB / 0.4948 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/0.4518, allocations: 19.98 kB / 0.4948 GB, free: 9.781 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002728/0.4521, allocations: 251 kB / 0.495 GB, free: 9.535 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4521, allocations: 0 / 0.495 GB, free: 9.535 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005631/0.4578, allocations: 0.9604 MB / 0.496 GB, free: 8.574 MB / 430.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.03288/0.4907, allocations: 9.448 MB / 0.5052 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.4924, allocations: 0.7191 MB / 0.5059 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4924, allocations: 0 / 0.5059 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006357/0.4931, allocations: 368.5 kB / 0.5063 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.4945, allocations: 266.8 kB / 0.5065 GB, free: 13.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.5053, allocations: 5.293 MB / 0.5117 GB, free: 8.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.5058, allocations: 0.8609 MB / 0.5125 GB, free: 7.344 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005285/0.5063, allocations: 236.2 kB / 0.5127 GB, free: 7.109 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.5066, allocations: 203.4 kB / 0.5129 GB, free: 6.91 MB / 446.1 MB Notification: Performance of SimCode: time 6.52e-07/0.5066, allocations: 0 / 0.5129 GB, free: 6.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2491/0.7557, allocations: 42.45 MB / 0.5544 GB, free: 147.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.53, allocations: 6.594 kB / 0.5544 GB, free: 147.6 MB / 478.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches