Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008165/0.0008165, allocations: 175.1 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.125/1.125, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007129/0.0007129, allocations: 82.42 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002735/0.0002735, allocations: 8 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1774, allocations: 47.57 MB / 375.2 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.02194/0.1993, allocations: 34.91 MB / 410.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02212/0.2215, allocations: 28.15 MB / 438.2 MB, free: 1.496 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004174/0.222, allocations: 8 kB / 438.2 MB, free: 1.488 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007947/0.2228, allocations: 318.3 kB / 438.6 MB, free: 1.176 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008257/0.2236, allocations: 493.4 kB / 439 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009273/0.2329, allocations: 3.844 MB / 442.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001521/0.2344, allocations: 1.698 MB / 444.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.2346, allocations: 132.3 kB / 444.7 MB, free: 11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005447/0.2352, allocations: 462.3 kB / 445.2 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004009/0.2356, allocations: 426.3 kB / 445.6 MB, free: 10.13 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.948e-05/0.2357, allocations: 32 kB / 445.6 MB, free: 10.1 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0604/0.2961, allocations: 51.74 MB / 497.4 MB, free: 6.312 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002337/0.2964, allocations: 115.5 kB / 497.5 MB, free: 6.199 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004424/0.2968, allocations: 300.7 kB / 497.8 MB, free: 5.898 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1764/0.4732, allocations: 13.87 MB / 0.4996 GB, free: 50.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4733, allocations: 0.5 kB / 0.4996 GB, free: 50.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4733, allocations: 0.5625 kB / 0.4996 GB, free: 50.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.4733, allocations: 0 / 0.4996 GB, free: 50.68 MB / 378.7 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.007653/0.481, allocations: 1.315 MB / 0.5009 GB, free: 49.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.481, allocations: 9.781 kB / 0.5009 GB, free: 49.89 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.719e-05/0.4811, allocations: 91.17 kB / 0.501 GB, free: 49.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006558/0.4818, allocations: 89.75 kB / 0.5011 GB, free: 49.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.4822, allocations: 377.9 kB / 0.5015 GB, free: 49.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.4822, allocations: 35.38 kB / 0.5015 GB, free: 49.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.554e-05/0.4823, allocations: 46.06 kB / 0.5015 GB, free: 49.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.4833, allocations: 0.6196 MB / 0.5022 GB, free: 49.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.4834, allocations: 9.531 kB / 0.5022 GB, free: 49.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.851e-05/0.4834, allocations: 22.97 kB / 0.5022 GB, free: 49.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.4834, allocations: 18.91 kB / 0.5022 GB, free: 49.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008782/0.4843, allocations: 0.5177 MB / 0.5027 GB, free: 49.45 MB / 378.7 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.003142/0.4875, allocations: 3.81 MB / 0.5064 GB, free: 47.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006927/0.4882, allocations: 413 kB / 0.5068 GB, free: 47.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.4884, allocations: 215.8 kB / 0.507 GB, free: 47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002206/0.4906, allocations: 3.549 MB / 0.5105 GB, free: 43.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.4907, allocations: 37.59 kB / 0.5105 GB, free: 43.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 1.724e-06/0.4907, allocations: 0 / 0.5105 GB, free: 43.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.007732/0.4984, allocations: 2.046 MB / 0.5125 GB, free: 42.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/0.4985, allocations: 55.59 kB / 0.5126 GB, free: 42.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.4987, allocations: 305.8 kB / 0.5129 GB, free: 42.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.4987, allocations: 35.89 kB / 0.5129 GB, free: 42.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/0.4988, allocations: 235.3 kB / 0.5131 GB, free: 42.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.945e-05/0.4989, allocations: 188.2 kB / 0.5133 GB, free: 42.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.4989, allocations: 13.81 kB / 0.5133 GB, free: 42.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.479e-05/0.499, allocations: 351 kB / 0.5137 GB, free: 42.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.4992, allocations: 182.2 kB / 0.5138 GB, free: 42.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.4995, allocations: 329.1 kB / 0.5141 GB, free: 41.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/0.5001, allocations: 0.5417 MB / 0.5147 GB, free: 41.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5001, allocations: 0 / 0.5147 GB, free: 41.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009744/0.5011, allocations: 0.6673 MB / 0.5153 GB, free: 41.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.5011, allocations: 8.5 kB / 0.5153 GB, free: 41.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.5011, allocations: 7.734 kB / 0.5153 GB, free: 41.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008024/0.5091, allocations: 460 kB / 0.5158 GB, free: 41.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004567/0.5096, allocations: 140.7 kB / 0.5159 GB, free: 41.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.5108, allocations: 3 MB / 0.5188 GB, free: 38.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.5111, allocations: 49.8 kB / 0.5189 GB, free: 38.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/0.5111, allocations: 29.94 kB / 0.5189 GB, free: 38.8 MB / 378.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001702/0.5113, allocations: 189.4 kB / 0.5191 GB, free: 38.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.445e-05/0.5114, allocations: 42.34 kB / 0.5191 GB, free: 38.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.5125, allocations: 1.047 MB / 0.5202 GB, free: 38.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.5126, allocations: 16.08 kB / 0.5202 GB, free: 38.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.5126, allocations: 1.281 kB / 0.5202 GB, free: 38.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008168/0.5134, allocations: 1.087 MB / 0.5212 GB, free: 38.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.515, allocations: 1.734 MB / 0.5229 GB, free: 37.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.515, allocations: 1.688 kB / 0.5229 GB, free: 37.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/0.5153, allocations: 104.8 kB / 0.523 GB, free: 37.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002708/0.518, allocations: 354.8 kB / 0.5234 GB, free: 37.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.5181, allocations: 17.25 kB / 0.5234 GB, free: 37.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003744/0.5185, allocations: 1.145 MB / 0.5245 GB, free: 36.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5185, allocations: 3.812 kB / 0.5245 GB, free: 36.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.5195, allocations: 1.123 MB / 0.5256 GB, free: 36.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-05/0.5196, allocations: 146.1 kB / 0.5257 GB, free: 36.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.5197, allocations: 12.84 kB / 0.5258 GB, free: 36.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/0.52, allocations: 25.64 kB / 0.5258 GB, free: 36.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.52, allocations: 43.86 kB / 0.5258 GB, free: 36.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.5201, allocations: 20.64 kB / 0.5258 GB, free: 36.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001791/0.5203, allocations: 250.3 kB / 0.5261 GB, free: 36.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5203, allocations: 0 / 0.5261 GB, free: 36.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005035/0.5253, allocations: 0.9548 MB / 0.527 GB, free: 35.71 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.03707/0.5624, allocations: 9.431 MB / 0.5362 GB, free: 27.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.5636, allocations: 0.6946 MB / 0.5369 GB, free: 26.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5636, allocations: 1.125 kB / 0.5369 GB, free: 26.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004501/0.5641, allocations: 370 kB / 0.5373 GB, free: 26.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.5654, allocations: 259.3 kB / 0.5375 GB, free: 26.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006457/0.5718, allocations: 3.686 MB / 0.5411 GB, free: 23.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.5721, allocations: 0.8678 MB / 0.542 GB, free: 22.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.5723, allocations: 203.2 kB / 0.5421 GB, free: 22.52 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5723, allocations: 0 / 0.5421 GB, free: 22.52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.393/5.965, allocations: 39.4 MB / 0.5806 GB, free: 96 kB / 394.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches