Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3.2.3_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_3.2.3_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.001103/0.001103, allocations: 117.4 kB / 17.28 MB, free: 6.219 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.001196/0.001196, allocations: 193.3 kB / 18.19 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.1 MB / 224.1 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 55.91 kB / 280.1 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1018, allocations: 46.63 MB / 326.8 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.0342/0.1361, allocations: 37.34 MB / 364.1 MB, free: 15.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.18/0.3161, allocations: 30.47 MB / 394.6 MB, free: 9.062 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005639/0.3167, allocations: 8.812 kB / 394.6 MB, free: 9.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.3179, allocations: 367.5 kB / 395 MB, free: 9.051 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.3189, allocations: 0.4894 MB / 395.4 MB, free: 9.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01457/0.3335, allocations: 4.524 MB / 400 MB, free: 8.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00178/0.3353, allocations: 1.364 MB / 401.3 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002823/0.3355, allocations: 164.4 kB / 401.5 MB, free: 8.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008478/0.3364, allocations: 0.5321 MB / 402 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000474/0.3369, allocations: 461.4 kB / 402.5 MB, free: 8.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.305e-05/0.337, allocations: 53.5 kB / 402.5 MB, free: 8.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04493/0.3819, allocations: 38.72 MB / 441.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003164/0.3823, allocations: 145.2 kB / 441.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005497/0.3828, allocations: 328.2 kB / 441.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0558/0.4387, allocations: 26.18 MB / 467.9 MB, free: 1.695 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.4387, allocations: 0.8125 kB / 467.9 MB, free: 1.695 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.4387, allocations: 0 / 467.9 MB, free: 1.695 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.4387, allocations: 0.8125 kB / 467.9 MB, free: 1.695 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.00781/0.4465, allocations: 1.42 MB / 469.3 MB, free: 236 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.4466, allocations: 11.89 kB / 469.3 MB, free: 224 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006901/0.4473, allocations: 96.11 kB / 469.4 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.4477, allocations: 383.6 kB / 469.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.4478, allocations: 37 kB / 469.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.544e-05/0.4478, allocations: 52.8 kB / 469.9 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.4489, allocations: 0.6243 MB / 470.5 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.449, allocations: 4 kB / 470.5 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.794e-05/0.449, allocations: 20.78 kB / 470.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.449, allocations: 12 kB / 470.5 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009227/0.45, allocations: 0.5237 MB / 471.1 MB, free: 14.42 MB / 382.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.003564/0.4535, allocations: 3.806 MB / 474.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008295/0.4544, allocations: 410 kB / 475.3 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/0.4547, allocations: 218.1 kB / 475.5 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002776/0.4575, allocations: 3.453 MB / 478.9 MB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.4575, allocations: 41.75 kB / 479 MB, free: 5.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.265e-06/0.4575, allocations: 0.7812 kB / 479 MB, free: 5.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.009155/0.4667, allocations: 2.029 MB / 481 MB, free: 3.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.4667, allocations: 61.19 kB / 481.1 MB, free: 3.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.467, allocations: 300.5 kB / 481.4 MB, free: 3.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.4671, allocations: 37.7 kB / 481.4 MB, free: 3.035 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.4672, allocations: 230 kB / 481.6 MB, free: 2.809 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.4673, allocations: 194.8 kB / 481.8 MB, free: 2.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.4675, allocations: 118.2 kB / 481.9 MB, free: 2.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4676, allocations: 348.1 kB / 482.3 MB, free: 2.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.4679, allocations: 185.2 kB / 482.4 MB, free: 1.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.4683, allocations: 333.8 kB / 482.8 MB, free: 1.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007098/0.469, allocations: 0.5468 MB / 483.3 MB, free: 1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.469, allocations: 0 / 483.3 MB, free: 1 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001138/0.4702, allocations: 0.6784 MB / 484 MB, free: 316 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.4702, allocations: 8 kB / 484 MB, free: 308 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.4702, allocations: 4.656 kB / 484 MB, free: 304 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009733/0.48, allocations: 445.1 kB / 484.4 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005494/0.4805, allocations: 147.7 kB / 484.6 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.4824, allocations: 3.09 MB / 487.7 MB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.4828, allocations: 48.08 kB / 487.7 MB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.086e-05/0.4828, allocations: 31.97 kB / 487.7 MB, free: 12.34 MB / 398.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.0002212/0.483, allocations: 185.7 kB / 487.9 MB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.4832, allocations: 51.41 kB / 488 MB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.4846, allocations: 1.052 MB / 489 MB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.4846, allocations: 15.98 kB / 489 MB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.4846, allocations: 0 / 489 MB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001063/0.4857, allocations: 1.087 MB / 490.1 MB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.4877, allocations: 1.737 MB / 491.9 MB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.4877, allocations: 0 / 491.9 MB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003764/0.4881, allocations: 95.89 kB / 492 MB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003298/0.4914, allocations: 353 kB / 492.3 MB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/0.4914, allocations: 15.98 kB / 492.3 MB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006254/0.4921, allocations: 1.14 MB / 493.5 MB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4921, allocations: 3.984 kB / 493.5 MB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.4934, allocations: 1.135 MB / 494.6 MB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.926e-05/0.4936, allocations: 116.5 kB / 494.7 MB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.441e-05/0.4936, allocations: 12 kB / 494.7 MB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.4939, allocations: 35.88 kB / 494.8 MB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.494, allocations: 36.5 kB / 494.8 MB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/0.494, allocations: 25.88 kB / 494.8 MB, free: 5.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002498/0.4943, allocations: 251 kB / 495.1 MB, free: 4.773 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4943, allocations: 0 / 495.1 MB, free: 4.773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005873/0.5002, allocations: 0.9682 MB / 496 MB, free: 3.805 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.0427/0.5429, allocations: 7.856 MB / 0.4921 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002/0.5449, allocations: 0.7395 MB / 0.4928 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.545, allocations: 0 / 0.4928 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006471/0.5456, allocations: 371.5 kB / 0.4932 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.5471, allocations: 269.7 kB / 0.4934 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.5493, allocations: 1.562 MB / 0.4949 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.5497, allocations: 0.8646 MB / 0.4958 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000526/0.5502, allocations: 248.1 kB / 0.496 GB, free: 8.004 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.5503, allocations: 51.42 kB / 0.4961 GB, free: 7.953 MB / 414.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5504, allocations: 0 / 0.4961 GB, free: 7.953 MB / 414.1 MB Notification: Performance of Templates: time 0.06054/0.6109, allocations: 35.98 MB / 0.5312 GB, free: 3.941 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/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_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches