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.0008492/0.0008492, allocations: 96.62 kB / 17.3 MB, free: 6.395 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.0008558/0.0008559, allocations: 172.5 kB / 18.2 MB, free: 5.551 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.336/1.336, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004595/0.0004597, allocations: 12 kB / 281.4 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07964/0.08011, allocations: 47.58 MB / 329 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03414/0.1143, allocations: 36.52 MB / 365.5 MB, free: 15.13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1941/0.3084, allocations: 31.07 MB / 396.5 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005715/0.3091, allocations: 7.562 kB / 396.5 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009682/0.31, allocations: 342.5 kB / 396.9 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.3111, allocations: 0.5105 MB / 397.4 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01654/0.3276, allocations: 4.143 MB / 401.5 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002925/0.3306, allocations: 2.033 MB / 403.6 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003005/0.3309, allocations: 132.8 kB / 403.7 MB, free: 8.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.332, allocations: 458.3 kB / 404.1 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006007/0.3326, allocations: 453 kB / 404.6 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.777e-05/0.3326, allocations: 24.75 kB / 404.6 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04508/0.3777, allocations: 35.3 MB / 439.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.378, allocations: 113.5 kB / 440 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005367/0.3786, allocations: 322.4 kB / 440.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05967/0.4383, allocations: 26.12 MB / 466.5 MB, free: 4.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4383, allocations: 0 / 466.5 MB, free: 4.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4383, allocations: 0 / 466.5 MB, free: 4.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.4383, allocations: 0 / 466.5 MB, free: 4.688 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.008313/0.4467, allocations: 1.31 MB / 467.8 MB, free: 3.375 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.4467, allocations: 8.031 kB / 467.8 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007078/0.4474, allocations: 99.3 kB / 467.9 MB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/0.4479, allocations: 383.1 kB / 468.2 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.4479, allocations: 33.12 kB / 468.3 MB, free: 2.902 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.945e-05/0.448, allocations: 53.67 kB / 468.3 MB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.4491, allocations: 0.6228 MB / 469 MB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.4491, allocations: 4 kB / 469 MB, free: 2.379 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.4491, allocations: 15.44 kB / 469 MB, free: 2.375 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.4492, allocations: 15.98 kB / 469 MB, free: 2.359 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009409/0.4501, allocations: 0.5239 MB / 469.5 MB, free: 1.922 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.003695/0.4538, allocations: 3.823 MB / 473.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008479/0.4547, allocations: 406.7 kB / 473.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.455, allocations: 217.2 kB / 473.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003173/0.4582, allocations: 3.545 MB / 477.5 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.4582, allocations: 38.94 kB / 477.5 MB, free: 8.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 1.814e-06/0.4582, allocations: 3.938 kB / 477.5 MB, free: 8.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.009131/0.4673, allocations: 2.045 MB / 479.6 MB, free: 6.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.4674, allocations: 59.84 kB / 479.6 MB, free: 6.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.4677, allocations: 304.4 kB / 479.9 MB, free: 6.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.4678, allocations: 37.7 kB / 480 MB, free: 6.371 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.4679, allocations: 244.5 kB / 480.2 MB, free: 6.129 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.4681, allocations: 184 kB / 480.4 MB, free: 5.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.731e-05/0.4682, allocations: 57.69 kB / 480.4 MB, free: 5.891 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4683, allocations: 354.8 kB / 480.8 MB, free: 5.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/0.4686, allocations: 181.2 kB / 481 MB, free: 5.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/0.469, allocations: 333.7 kB / 481.3 MB, free: 4.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007771/0.4698, allocations: 0.5407 MB / 481.8 MB, free: 4.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4698, allocations: 0 / 481.8 MB, free: 4.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001209/0.471, allocations: 0.6735 MB / 482.5 MB, free: 3.688 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.4711, allocations: 11.98 kB / 482.5 MB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.4711, allocations: 4.562 kB / 482.5 MB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00955/0.4806, allocations: 454 kB / 483 MB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005773/0.4812, allocations: 143.8 kB / 483.1 MB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.4833, allocations: 2.994 MB / 486.1 MB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.4838, allocations: 48.08 kB / 486.1 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.625e-05/0.4838, allocations: 35.92 kB / 486.2 MB, free: 15.79 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.0002571/0.4841, allocations: 186.4 kB / 486.4 MB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/0.4842, allocations: 39.53 kB / 486.4 MB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.4857, allocations: 1.053 MB / 487.5 MB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.4857, allocations: 19.92 kB / 487.5 MB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4858, allocations: 4.062 kB / 487.5 MB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001132/0.4869, allocations: 1.087 MB / 488.6 MB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.489, allocations: 1.733 MB / 490.3 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.489, allocations: 3.984 kB / 490.3 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003825/0.4894, allocations: 99.89 kB / 490.4 MB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00321/0.4926, allocations: 353 kB / 490.7 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.4926, allocations: 19.98 kB / 490.8 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006259/0.4933, allocations: 1.148 MB / 491.9 MB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4933, allocations: 3.938 kB / 491.9 MB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.4947, allocations: 1.131 MB / 493 MB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.4948, allocations: 136.4 kB / 493.2 MB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.475e-05/0.4949, allocations: 15.94 kB / 493.2 MB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.4952, allocations: 27.92 kB / 493.2 MB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.4953, allocations: 40.45 kB / 493.3 MB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.4953, allocations: 23.98 kB / 493.3 MB, free: 8.438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002486/0.4956, allocations: 247 kB / 493.5 MB, free: 8.199 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4956, allocations: 0 / 493.5 MB, free: 8.199 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005211/0.5008, allocations: 0.9604 MB / 494.5 MB, free: 7.238 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.04355/0.5444, allocations: 7.847 MB / 0.4906 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.546, allocations: 0.7087 MB / 0.4913 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.546, allocations: 3.938 kB / 0.4913 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005586/0.5466, allocations: 372.6 kB / 0.4916 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.5481, allocations: 257.8 kB / 0.4919 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.5505, allocations: 1.655 MB / 0.4935 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.5509, allocations: 0.8725 MB / 0.4943 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005549/0.5514, allocations: 240.1 kB / 0.4946 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.5516, allocations: 47.44 kB / 0.4946 GB, free: 11.35 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5516, allocations: 0 / 0.4946 GB, free: 11.35 MB / 414.1 MB Notification: Performance of Templates: time 0.05879/0.6104, allocations: 35.42 MB / 0.5292 GB, free: 7.891 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