Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.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.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000903/0.0009031, allocations: 94.17 kB / 17.31 MB, free: 6.535 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.0008321/0.0008323, allocations: 179.9 kB / 18.21 MB, free: 5.684 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.278/1.278, allocations: 223.3 MB / 242.3 MB, free: 244 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002479/0.0002479, allocations: 7.938 kB / 302.1 MB, free: 6.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08096/0.08123, allocations: 50.4 MB / 352.5 MB, free: 3.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.2117/0.293, allocations: 25.7 MB / 378.2 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02706/0.3201, allocations: 25.22 MB / 403.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004976/0.3206, allocations: 4.344 kB / 403.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009713/0.3216, allocations: 244.4 kB / 403.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.3227, allocations: 357.2 kB / 404 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01323/0.336, allocations: 3.252 MB / 407.2 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001914/0.3379, allocations: 1.401 MB / 408.6 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002842/0.3382, allocations: 86.14 kB / 408.7 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009115/0.3391, allocations: 333.2 kB / 409 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006268/0.3398, allocations: 311 kB / 409.4 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.612e-05/0.3398, allocations: 16.12 kB / 409.4 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03892/0.3788, allocations: 27.66 MB / 437 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.379, allocations: 83.67 kB / 437.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004231/0.3795, allocations: 224.9 kB / 437.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02322/0.4027, allocations: 10.68 MB / 448 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4027, allocations: 0 / 448 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.4028, allocations: 8 kB / 448 MB, free: 4.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.4028, allocations: 0 / 448 MB, free: 4.441 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.006307/0.4091, allocations: 1.057 MB / 449.1 MB, free: 3.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.4091, allocations: 8.031 kB / 449.1 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005708/0.4097, allocations: 63.59 kB / 449.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005264/0.4103, allocations: 318.2 kB / 449.5 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.4103, allocations: 24.66 kB / 449.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/0.4104, allocations: 36 kB / 449.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009965/0.4114, allocations: 459.8 kB / 450 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.4114, allocations: 0 / 450 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.4115, allocations: 23.98 kB / 450 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.4115, allocations: 8 kB / 450 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007143/0.4122, allocations: 386.2 kB / 450.4 MB, free: 1.961 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.003305/0.4155, allocations: 2.949 MB / 453.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006851/0.4162, allocations: 298.7 kB / 453.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.4164, allocations: 137.5 kB / 453.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002529/0.419, allocations: 2.533 MB / 456.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.4191, allocations: 38.56 kB / 456.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.474e-06/0.4191, allocations: 0 / 456.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.005268/0.4243, allocations: 1.294 MB / 457.6 MB, free: 9.887 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.4244, allocations: 55.41 kB / 457.7 MB, free: 9.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.4247, allocations: 262.5 kB / 457.9 MB, free: 9.559 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.4247, allocations: 29.7 kB / 457.9 MB, free: 9.523 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.4248, allocations: 184.1 kB / 458.1 MB, free: 9.336 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.575e-05/0.4249, allocations: 130.1 kB / 458.3 MB, free: 9.207 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/0.425, allocations: 45.7 kB / 458.3 MB, free: 9.156 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.4251, allocations: 342.8 kB / 458.6 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.4253, allocations: 112.8 kB / 458.7 MB, free: 8.703 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.4256, allocations: 230 kB / 459 MB, free: 8.434 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/0.4261, allocations: 390.5 kB / 459.4 MB, free: 8.004 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4261, allocations: 0 / 459.4 MB, free: 8.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009907/0.4271, allocations: 455 kB / 459.8 MB, free: 7.547 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.4271, allocations: 8 kB / 459.8 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.4272, allocations: 4 kB / 459.8 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004766/0.4319, allocations: 237.4 kB / 460 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.4324, allocations: 87.89 kB / 460.1 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.4338, allocations: 1.844 MB / 462 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/0.4342, allocations: 24.05 kB / 462 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-05/0.4342, allocations: 20 kB / 462 MB, free: 5.168 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.0002242/0.4345, allocations: 165.7 kB / 462.2 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.37e-05/0.4346, allocations: 35.56 kB / 462.2 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.4356, allocations: 0.6891 MB / 462.9 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.4356, allocations: 15.98 kB / 462.9 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.4356, allocations: 0 / 462.9 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008271/0.4365, allocations: 0.8632 MB / 463.8 MB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.438, allocations: 1.186 MB / 465 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.438, allocations: 3.938 kB / 465 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.4383, allocations: 59.91 kB / 465 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/0.4399, allocations: 184.5 kB / 465.2 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.4399, allocations: 8 kB / 465.2 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003805/0.4403, allocations: 0.5912 MB / 465.8 MB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4403, allocations: 0 / 465.8 MB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009462/0.4413, allocations: 0.7297 MB / 466.5 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.4415, allocations: 128.6 kB / 466.7 MB, free: 288 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-05/0.4415, allocations: 8 kB / 466.7 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.4418, allocations: 31.95 kB / 466.7 MB, free: 248 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.4419, allocations: 27.91 kB / 466.7 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.4419, allocations: 11.98 kB / 466.7 MB, free: 208 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002686/0.4422, allocations: 221.9 kB / 467 MB, free: 15.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4422, allocations: 4 kB / 467 MB, free: 15.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004428/0.4466, allocations: 0.734 MB / 467.7 MB, free: 15.25 MB / 382.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.03374/0.4804, allocations: 6.386 MB / 474.1 MB, free: 8.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009735/0.4814, allocations: 486.1 kB / 474.6 MB, free: 8.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4814, allocations: 0 / 474.6 MB, free: 8.352 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003577/0.4818, allocations: 217.5 kB / 474.8 MB, free: 8.141 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.483, allocations: 191.2 kB / 475 MB, free: 7.961 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.4845, allocations: 1.139 MB / 476.1 MB, free: 6.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.4849, allocations: 0.809 MB / 476.9 MB, free: 5.953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.485, allocations: 39.44 kB / 476.9 MB, free: 5.914 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.485, allocations: 0 / 476.9 MB, free: 5.914 MB / 382.1 MB Notification: Performance of Templates: time 0.04017/0.5252, allocations: 29.14 MB / 0.4942 GB, free: 8.754 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/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_4.0.0_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches