Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008925/0.0008926, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.0009548/0.0009548, allocations: 183.4 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 223.2 MB / 241.1 MB, free: 5.387 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002311/0.0002311, allocations: 6.938 kB / 300.7 MB, free: 6.102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08092/0.08117, allocations: 50.42 MB / 351.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03145/0.1127, allocations: 31.67 MB / 382.8 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0262/0.1389, allocations: 25.58 MB / 408.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000531/0.1395, allocations: 4 kB / 408.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.1405, allocations: 346.5 kB / 408.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009915/0.1416, allocations: 359 kB / 409.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01172/0.1533, allocations: 3.969 MB / 413 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001345/0.1547, allocations: 0.7615 MB / 413.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003526/0.155, allocations: 122.3 kB / 413.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007025/0.1557, allocations: 394.8 kB / 414.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004384/0.1562, allocations: 270.9 kB / 414.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.46e-05/0.1563, allocations: 24 kB / 414.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2369/0.3932, allocations: 69.18 MB / 483.8 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002241/0.3934, allocations: 110.1 kB / 483.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.3936, allocations: 140.1 kB / 484 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03666/0.4303, allocations: 13.83 MB / 497.8 MB, free: 15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4303, allocations: 0 / 497.8 MB, free: 15 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4304, allocations: 0 / 497.8 MB, free: 15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.4304, allocations: 0 / 497.8 MB, free: 15 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.00722/0.4376, allocations: 1.314 MB / 499.2 MB, free: 13.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.4376, allocations: 8.031 kB / 499.2 MB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006732/0.4383, allocations: 98.67 kB / 499.3 MB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004498/0.4388, allocations: 366.6 kB / 499.6 MB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.4388, allocations: 40.5 kB / 499.7 MB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.19e-05/0.4389, allocations: 42.19 kB / 499.7 MB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.44, allocations: 0.6105 MB / 0.4886 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.44, allocations: 7.281 kB / 0.4886 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.657e-05/0.4401, allocations: 24.23 kB / 0.4886 GB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.4401, allocations: 12 kB / 0.4886 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008865/0.441, allocations: 0.521 MB / 0.4891 GB, free: 12.4 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.004227/0.4452, allocations: 3.826 MB / 0.4929 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000808/0.446, allocations: 407.7 kB / 0.4933 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003161/0.4492, allocations: 3.564 MB / 0.4967 GB, free: 4.395 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.4493, allocations: 43.25 kB / 0.4968 GB, free: 4.352 MB / 398.1 MB Notification: Performance of pre-optimization done (n=46): time 2.314e-06/0.4493, allocations: 0 / 0.4968 GB, free: 4.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=54): time 0.008881/0.4582, allocations: 2.036 MB / 0.4988 GB, free: 2.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.4582, allocations: 56.84 kB / 0.4988 GB, free: 2.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.4585, allocations: 305.5 kB / 0.4991 GB, free: 2.422 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.4586, allocations: 37.58 kB / 0.4992 GB, free: 2.387 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.4587, allocations: 240.8 kB / 0.4994 GB, free: 2.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.4588, allocations: 186.2 kB / 0.4996 GB, free: 2.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.4589, allocations: 13.38 kB / 0.4996 GB, free: 2.035 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.459, allocations: 348.3 kB / 0.4999 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.4593, allocations: 177.9 kB / 0.5001 GB, free: 1.598 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000345/0.4596, allocations: 328.6 kB / 0.5004 GB, free: 1.309 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.46, allocations: 230.3 kB / 0.5006 GB, free: 1.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.46, allocations: 0 / 0.5006 GB, free: 1.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001145/0.4611, allocations: 0.6676 MB / 0.5013 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4612, allocations: 11.98 kB / 0.5013 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.4612, allocations: 5.25 kB / 0.5013 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008986/0.4702, allocations: 452.9 kB / 0.5017 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005693/0.4707, allocations: 144.5 kB / 0.5018 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.4726, allocations: 3.005 MB / 0.5048 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.473, allocations: 44.73 kB / 0.5048 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/0.473, allocations: 34.92 kB / 0.5049 GB, free: 13.08 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 (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.0002315/0.4733, allocations: 187.4 kB / 0.505 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.626e-05/0.4734, allocations: 43.48 kB / 0.5051 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.4748, allocations: 1.06 MB / 0.5061 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.4748, allocations: 7.75 kB / 0.5061 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.4748, allocations: 4 kB / 0.5061 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001022/0.4758, allocations: 1.084 MB / 0.5072 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/0.4777, allocations: 1.731 MB / 0.5089 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.4777, allocations: 0 / 0.5089 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/0.4781, allocations: 108.2 kB / 0.509 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002988/0.4811, allocations: 362 kB / 0.5093 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.4812, allocations: 11.81 kB / 0.5093 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006564/0.4819, allocations: 1.148 MB / 0.5105 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4819, allocations: 0 / 0.5105 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.4832, allocations: 1.123 MB / 0.5116 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.4833, allocations: 146.3 kB / 0.5117 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.544e-05/0.4834, allocations: 18 kB / 0.5117 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/0.4837, allocations: 27.81 kB / 0.5117 GB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.4837, allocations: 42.31 kB / 0.5118 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.4838, allocations: 20.42 kB / 0.5118 GB, free: 7.566 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002426/0.484, allocations: 244 kB / 0.512 GB, free: 7.375 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.484, allocations: 0 / 0.512 GB, free: 7.375 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00507/0.4891, allocations: 0.964 MB / 0.513 GB, free: 6.484 MB / 414.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 (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.04118/0.5303, allocations: 7.865 MB / 0.5206 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.5317, allocations: 0.6908 MB / 0.5213 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5317, allocations: 4.062 kB / 0.5213 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000539/0.5323, allocations: 367.3 kB / 0.5217 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.5336, allocations: 246.5 kB / 0.5219 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.5357, allocations: 1.606 MB / 0.5235 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.5361, allocations: 0.8728 MB / 0.5243 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005079/0.5366, allocations: 247.5 kB / 0.5246 GB, free: 11.31 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.5367, allocations: 49.92 kB / 0.5246 GB, free: 11.26 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5367, allocations: 0 / 0.5246 GB, free: 11.26 MB / 430.1 MB Notification: Performance of Templates: time 0.04639/0.5831, allocations: 34.94 MB / 0.5587 GB, free: 8.879 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches