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.001243/0.001244, allocations: 112.5 kB / 17.7 MB, free: 5.426 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.001028/0.001028, allocations: 183 kB / 18.62 MB, free: 4.5 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.293/1.293, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 41.58 kB / 302 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08939/0.09045, allocations: 49.46 MB / 351.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1922/0.2827, allocations: 37.62 MB / 389.1 MB, free: 5.164 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03142/0.3142, allocations: 30.61 MB / 419.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006532/0.3149, allocations: 11.91 kB / 419.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.3161, allocations: 405.5 kB / 420.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.3173, allocations: 0.5108 MB / 420.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01632/0.3336, allocations: 5.131 MB / 425.8 MB, free: 9.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001874/0.3355, allocations: 1.367 MB / 427.1 MB, free: 7.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003025/0.3358, allocations: 171.9 kB / 427.3 MB, free: 7.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009003/0.3367, allocations: 0.5255 MB / 427.8 MB, free: 7.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005226/0.3373, allocations: 450.3 kB / 428.3 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.21e-05/0.3374, allocations: 52 kB / 428.3 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02246/0.3598, allocations: 12.8 MB / 441.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002943/0.3602, allocations: 147.6 kB / 441.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004991/0.3607, allocations: 322.7 kB / 441.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03236/0.393, allocations: 14.91 MB / 456.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3931, allocations: 0 / 456.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3931, allocations: 0 / 456.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.3931, allocations: 0 / 456.5 MB, free: 10.59 MB / 366.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.007217/0.4003, allocations: 1.423 MB / 457.9 MB, free: 9.113 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.4004, allocations: 11.89 kB / 457.9 MB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006948/0.4011, allocations: 95.31 kB / 458 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005611/0.4017, allocations: 389.8 kB / 458.4 MB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.4017, allocations: 41 kB / 458.4 MB, free: 8.547 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/0.4018, allocations: 48 kB / 458.5 MB, free: 8.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.4029, allocations: 0.6166 MB / 459.1 MB, free: 7.832 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.4029, allocations: 7.609 kB / 459.1 MB, free: 7.828 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.88e-05/0.403, allocations: 24 kB / 459.1 MB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.403, allocations: 12 kB / 459.2 MB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009707/0.404, allocations: 0.519 MB / 459.7 MB, free: 7.277 MB / 366.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.004201/0.4082, allocations: 3.811 MB / 463.5 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008981/0.4091, allocations: 412.2 kB / 463.9 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.4094, allocations: 209.5 kB / 464.1 MB, free: 2.539 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002946/0.4123, allocations: 3.463 MB / 467.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.4124, allocations: 42.94 kB / 467.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 1.993e-06/0.4124, allocations: 0 / 467.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.01041/0.4228, allocations: 2.019 MB / 469.6 MB, free: 12.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.092e-05/0.4229, allocations: 59.84 kB / 469.7 MB, free: 12.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.4233, allocations: 308.4 kB / 470 MB, free: 11.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.4234, allocations: 33.7 kB / 470 MB, free: 11.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.4236, allocations: 236.5 kB / 470.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.4238, allocations: 189.3 kB / 470.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.424, allocations: 118.2 kB / 470.5 MB, free: 11.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4242, allocations: 346.8 kB / 470.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003524/0.4245, allocations: 189.2 kB / 471.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/0.4249, allocations: 324.1 kB / 471.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007424/0.4257, allocations: 0.5485 MB / 471.9 MB, free: 9.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.4257, allocations: 0 / 471.9 MB, free: 9.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001249/0.427, allocations: 0.6773 MB / 472.6 MB, free: 9.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.427, allocations: 8 kB / 472.6 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.427, allocations: 8.5 kB / 472.6 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00965/0.4367, allocations: 446 kB / 473.1 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006597/0.4373, allocations: 143.8 kB / 473.2 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.4396, allocations: 3.095 MB / 476.3 MB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.4399, allocations: 19.94 kB / 476.3 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/0.44, allocations: 24 kB / 476.3 MB, free: 5.102 MB / 382.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.0002491/0.4402, allocations: 196.2 kB / 476.5 MB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.4404, allocations: 43.53 kB / 476.6 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.4419, allocations: 1.052 MB / 477.6 MB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.4419, allocations: 8 kB / 477.6 MB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.4419, allocations: 0 / 477.6 MB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001149/0.4431, allocations: 1.091 MB / 478.7 MB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.4452, allocations: 1.725 MB / 480.4 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.4452, allocations: 4 kB / 480.4 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/0.4456, allocations: 104.9 kB / 480.5 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003026/0.4486, allocations: 349 kB / 480.9 MB, free: 380 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/0.4487, allocations: 16 kB / 480.9 MB, free: 364 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007953/0.4495, allocations: 1.148 MB / 482.1 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4496, allocations: 0 / 482.1 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.451, allocations: 1.128 MB / 483.2 MB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.4511, allocations: 120.6 kB / 483.3 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-05/0.4512, allocations: 23.83 kB / 483.3 MB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.4514, allocations: 19.88 kB / 483.3 MB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.4515, allocations: 33.39 kB / 483.4 MB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/0.4515, allocations: 23.98 kB / 483.4 MB, free: 13.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002394/0.4518, allocations: 247 kB / 483.6 MB, free: 13.54 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4518, allocations: 0 / 483.6 MB, free: 13.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00486/0.4567, allocations: 0.9566 MB / 484.6 MB, free: 12.58 MB / 398.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.02818/0.4849, allocations: 7.868 MB / 492.5 MB, free: 4.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.4865, allocations: 0.7123 MB / 493.2 MB, free: 3.969 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4865, allocations: 4 kB / 493.2 MB, free: 3.965 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005859/0.4871, allocations: 367.5 kB / 493.5 MB, free: 3.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.4884, allocations: 268.7 kB / 493.8 MB, free: 3.344 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.4904, allocations: 1.332 MB / 495.1 MB, free: 1.988 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.4908, allocations: 0.8687 MB / 496 MB, free: 1.094 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004472/0.4913, allocations: 237.3 kB / 496.2 MB, free: 0.8633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.4914, allocations: 51.42 kB / 496.3 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4914, allocations: 0 / 496.3 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of Templates: time 0.04747/0.5389, allocations: 36.02 MB / 0.5198 GB, free: 12.83 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/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