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.001033/0.001033, allocations: 110.6 kB / 16.62 MB, free: 6.961 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.001003/0.001003, allocations: 190 kB / 17.54 MB, free: 6.066 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.296/1.296, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001/0.001, allocations: 50.89 kB / 300.1 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08761/0.08862, allocations: 49.45 MB / 349.6 MB, free: 4.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.183/0.2716, allocations: 37.31 MB / 386.9 MB, free: 5.527 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03007/0.3017, allocations: 30.48 MB / 417.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006653/0.3025, allocations: 11.53 kB / 417.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.3038, allocations: 367.3 kB / 417.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.3051, allocations: 494.6 kB / 418.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01415/0.3193, allocations: 4.532 MB / 422.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001956/0.3212, allocations: 1.359 MB / 424.1 MB, free: 9.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003016/0.3215, allocations: 175.2 kB / 424.3 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009791/0.3225, allocations: 0.5333 MB / 424.8 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006301/0.3232, allocations: 454.2 kB / 425.2 MB, free: 8.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.3233, allocations: 56 kB / 425.3 MB, free: 8.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04716/0.3704, allocations: 38.72 MB / 464 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002627/0.3707, allocations: 151.5 kB / 464.2 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005093/0.3713, allocations: 322.7 kB / 464.5 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0574/0.4287, allocations: 26.18 MB / 490.7 MB, free: 7.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.4287, allocations: 4 kB / 490.7 MB, free: 7.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4287, allocations: 0 / 490.7 MB, free: 7.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.221e-05/0.4288, allocations: 0 / 490.7 MB, free: 7.105 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.007597/0.4364, allocations: 1.419 MB / 492.1 MB, free: 5.637 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.4364, allocations: 11.89 kB / 492.1 MB, free: 5.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007417/0.4372, allocations: 95.3 kB / 492.2 MB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.4377, allocations: 382 kB / 492.6 MB, free: 5.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.4377, allocations: 33 kB / 492.6 MB, free: 5.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.559e-05/0.4378, allocations: 47.94 kB / 492.6 MB, free: 5.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.439, allocations: 0.6304 MB / 493.3 MB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.439, allocations: 4 kB / 493.3 MB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.485e-05/0.4391, allocations: 16 kB / 493.3 MB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.4391, allocations: 12 kB / 493.3 MB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.4402, allocations: 0.5307 MB / 493.8 MB, free: 3.801 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.003854/0.444, allocations: 3.803 MB / 497.6 MB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008886/0.4449, allocations: 411.8 kB / 498 MB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.4452, allocations: 206.2 kB / 498.2 MB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002932/0.4482, allocations: 3.455 MB / 0.4899 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.4482, allocations: 38.94 kB / 0.49 GB, free: 10.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 1.844e-06/0.4482, allocations: 0 / 0.49 GB, free: 10.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009464/0.4577, allocations: 2.036 MB / 0.492 GB, free: 8.754 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.4577, allocations: 59.78 kB / 0.492 GB, free: 8.684 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003534/0.4581, allocations: 312.5 kB / 0.4923 GB, free: 8.375 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.4581, allocations: 33.7 kB / 0.4924 GB, free: 8.336 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.4583, allocations: 232.5 kB / 0.4926 GB, free: 8.102 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.4584, allocations: 185.3 kB / 0.4928 GB, free: 7.918 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.4586, allocations: 118.2 kB / 0.4929 GB, free: 7.797 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.4587, allocations: 358.8 kB / 0.4932 GB, free: 7.438 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/0.459, allocations: 173.2 kB / 0.4934 GB, free: 7.266 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003982/0.4594, allocations: 332 kB / 0.4937 GB, free: 6.883 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007521/0.4602, allocations: 0.546 MB / 0.4942 GB, free: 6.277 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.4602, allocations: 4 kB / 0.4942 GB, free: 6.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001293/0.4615, allocations: 0.6696 MB / 0.4949 GB, free: 5.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.4615, allocations: 12.55 kB / 0.4949 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.4616, allocations: 4 kB / 0.4949 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/0.4716, allocations: 450 kB / 0.4953 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005936/0.4722, allocations: 139.8 kB / 0.4955 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.4743, allocations: 3.097 MB / 0.4985 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000387/0.4747, allocations: 47.81 kB / 0.4985 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.4748, allocations: 32.09 kB / 0.4986 GB, free: 1.602 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.0002376/0.475, allocations: 187.3 kB / 0.4987 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.4751, allocations: 43.47 kB / 0.4988 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/0.4766, allocations: 1.055 MB / 0.4998 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.4767, allocations: 8 kB / 0.4998 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.4767, allocations: 0 / 0.4998 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001235/0.4779, allocations: 1.099 MB / 0.5009 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/0.48, allocations: 1.73 MB / 0.5026 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.4801, allocations: 0 / 0.5026 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003988/0.4805, allocations: 107.9 kB / 0.5027 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003282/0.4838, allocations: 345.1 kB / 0.503 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.4838, allocations: 15.94 kB / 0.503 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006224/0.4844, allocations: 1.144 MB / 0.5041 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4845, allocations: 0 / 0.5041 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.4859, allocations: 1.135 MB / 0.5053 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.486, allocations: 120.5 kB / 0.5054 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.619e-05/0.4861, allocations: 15.91 kB / 0.5054 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.4864, allocations: 31.92 kB / 0.5054 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.4865, allocations: 32.52 kB / 0.5054 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.4865, allocations: 30.42 kB / 0.5055 GB, free: 10.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002404/0.4867, allocations: 247 kB / 0.5057 GB, free: 10.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4867, allocations: 0 / 0.5057 GB, free: 10.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004934/0.4917, allocations: 0.9604 MB / 0.5066 GB, free: 9.059 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.04181/0.5335, allocations: 7.884 MB / 0.5143 GB, free: 1.152 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.5355, allocations: 0.7288 MB / 0.5151 GB, free: 428 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5355, allocations: 0 / 0.5151 GB, free: 428 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006263/0.5361, allocations: 379.4 kB / 0.5154 GB, free: 48 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.5376, allocations: 274.9 kB / 0.5157 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.5399, allocations: 1.548 MB / 0.5172 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.5403, allocations: 0.8648 MB / 0.518 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005305/0.5408, allocations: 236.7 kB / 0.5183 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.5409, allocations: 51.38 kB / 0.5183 GB, free: 13.04 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5409, allocations: 0 / 0.5183 GB, free: 13.04 MB / 446.1 MB Notification: Performance of Templates: time 0.1909/0.7319, allocations: 35.98 MB / 0.5534 GB, free: 142.5 MB / 446.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches