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.0008228/0.0008228, allocations: 92.03 kB / 16.95 MB, free: 6.441 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.0008311/0.0008311, allocations: 181.2 kB / 17.84 MB, free: 6.008 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.462/1.462, allocations: 205.4 MB / 224 MB, free: 13.14 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.0006708/0.000671, allocations: 13.72 kB / 280.8 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1164, allocations: 47.58 MB / 328.4 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03681/0.1532, allocations: 34.76 MB / 363.1 MB, free: 1.227 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2102/0.3634, allocations: 28.12 MB / 391.2 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006295/0.3641, allocations: 8.281 kB / 391.2 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.3653, allocations: 311.3 kB / 391.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.3667, allocations: 494.1 kB / 392 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01359/0.3803, allocations: 3.836 MB / 395.9 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002316/0.3826, allocations: 1.692 MB / 397.6 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.3829, allocations: 113.8 kB / 397.7 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000858/0.3838, allocations: 478.7 kB / 398.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000508/0.3843, allocations: 421.6 kB / 398.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.022e-05/0.3843, allocations: 28.94 kB / 398.6 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06898/0.4533, allocations: 51.74 MB / 450.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003967/0.4538, allocations: 120.4 kB / 450.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004548/0.4543, allocations: 138.5 kB / 450.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03346/0.4877, allocations: 13.89 MB / 464.5 MB, free: 4.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.4878, allocations: 0 / 464.5 MB, free: 4.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.088e-06/0.4878, allocations: 0 / 464.5 MB, free: 4.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.4878, allocations: 0 / 464.5 MB, free: 4.82 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.00974/0.4976, allocations: 1.314 MB / 465.8 MB, free: 3.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.4976, allocations: 12.03 kB / 465.8 MB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000716/0.4984, allocations: 96.5 kB / 465.9 MB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004888/0.4989, allocations: 374.5 kB / 466.2 MB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.4989, allocations: 35.75 kB / 466.3 MB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.36e-05/0.499, allocations: 47.06 kB / 466.3 MB, free: 3.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.5002, allocations: 0.6166 MB / 466.9 MB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-05/0.5002, allocations: 12.95 kB / 467 MB, free: 2.535 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.551e-05/0.5003, allocations: 16.44 kB / 467 MB, free: 2.531 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.5003, allocations: 12 kB / 467 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009021/0.5012, allocations: 0.5297 MB / 467.5 MB, free: 2.16 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.003901/0.5051, allocations: 3.803 MB / 471.3 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008671/0.506, allocations: 410.4 kB / 471.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.5063, allocations: 203.6 kB / 471.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003214/0.5095, allocations: 3.551 MB / 475.5 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.5096, allocations: 41.94 kB / 475.5 MB, free: 9.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.224e-06/0.5096, allocations: 0 / 475.5 MB, free: 9.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.008865/0.5184, allocations: 2.052 MB / 477.6 MB, free: 8.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.5185, allocations: 55.84 kB / 477.6 MB, free: 8.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.5188, allocations: 299.2 kB / 477.9 MB, free: 7.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/0.5189, allocations: 43.02 kB / 477.9 MB, free: 7.949 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.5191, allocations: 230.9 kB / 478.2 MB, free: 7.762 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.5192, allocations: 190.6 kB / 478.4 MB, free: 7.605 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.5192, allocations: 13.31 kB / 478.4 MB, free: 7.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5194, allocations: 351.8 kB / 478.7 MB, free: 7.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.5197, allocations: 178.7 kB / 478.9 MB, free: 7.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/0.5201, allocations: 328.3 kB / 479.2 MB, free: 6.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/0.5204, allocations: 227.1 kB / 479.4 MB, free: 6.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.5205, allocations: 4 kB / 479.4 MB, free: 6.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001195/0.5217, allocations: 0.67 MB / 480.1 MB, free: 6.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.5217, allocations: 8.562 kB / 480.1 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.5217, allocations: 8 kB / 480.1 MB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008221/0.5299, allocations: 447.9 kB / 480.6 MB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000615/0.5306, allocations: 145.5 kB / 480.7 MB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/0.5327, allocations: 2.996 MB / 483.7 MB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/0.5332, allocations: 48.66 kB / 483.7 MB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.694e-05/0.5333, allocations: 25.88 kB / 483.8 MB, free: 2.559 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 (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.0002924/0.5336, allocations: 192.6 kB / 484 MB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.5337, allocations: 43.53 kB / 484 MB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/0.5352, allocations: 1.066 MB / 485.1 MB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.5353, allocations: 8 kB / 485.1 MB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5353, allocations: 0 / 485.1 MB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001122/0.5364, allocations: 1.092 MB / 486.2 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.5385, allocations: 1.728 MB / 487.9 MB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.5386, allocations: 0 / 487.9 MB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/0.5389, allocations: 106.3 kB / 488 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002802/0.5418, allocations: 356.2 kB / 488.3 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.547e-05/0.5418, allocations: 14.45 kB / 488.4 MB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006988/0.5425, allocations: 1.142 MB / 489.5 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5425, allocations: 0 / 489.5 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.544, allocations: 1.131 MB / 490.6 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.5442, allocations: 143.8 kB / 490.8 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-05/0.5442, allocations: 15.31 kB / 490.8 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.5446, allocations: 31.17 kB / 490.8 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.5446, allocations: 39.69 kB / 490.9 MB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/0.5447, allocations: 18.62 kB / 490.9 MB, free: 13.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002759/0.545, allocations: 248 kB / 491.1 MB, free: 12.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.545, allocations: 0 / 491.1 MB, free: 12.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005934/0.5509, allocations: 0.9643 MB / 492.1 MB, free: 11.84 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 (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.04526/0.5962, allocations: 7.851 MB / 499.9 MB, free: 4.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.5979, allocations: 0.6962 MB / 0.4889 GB, free: 3.438 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5979, allocations: 0 / 0.4889 GB, free: 3.438 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006177/0.5985, allocations: 371 kB / 0.4892 GB, free: 3.078 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.5999, allocations: 265.1 kB / 0.4895 GB, free: 2.816 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.6023, allocations: 1.616 MB / 0.4911 GB, free: 1.191 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.6027, allocations: 0.8648 MB / 0.4919 GB, free: 308 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005631/0.6033, allocations: 244 kB / 0.4922 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.6034, allocations: 47.44 kB / 0.4922 GB, free: 12 kB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.6034, allocations: 4 kB / 0.4922 GB, free: 8 kB / 398.1 MB Notification: Performance of Templates: time 0.05201/0.6555, allocations: 34.98 MB / 0.5264 GB, free: 13.13 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