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.001111/0.001111, allocations: 107.4 kB / 17.15 MB, free: 6.328 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.001169/0.001169, allocations: 198 kB / 18.07 MB, free: 5.434 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.372/1.372, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001121/0.001121, allocations: 47.92 kB / 280 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08814/0.08928, allocations: 46.63 MB / 326.6 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03304/0.1224, allocations: 37.25 MB / 363.8 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.194/0.3164, allocations: 31.58 MB / 395.4 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004477/0.3169, allocations: 5 kB / 395.4 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000939/0.3179, allocations: 349.3 kB / 395.8 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008922/0.3188, allocations: 0.5054 MB / 396.3 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0128/0.3316, allocations: 4.155 MB / 400.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001884/0.3335, allocations: 2.039 MB / 402.5 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.3337, allocations: 125.2 kB / 402.6 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005953/0.3343, allocations: 464.6 kB / 403 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004226/0.3348, allocations: 457.3 kB / 403.5 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.437e-05/0.3348, allocations: 28.84 kB / 403.5 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04923/0.3841, allocations: 35.3 MB / 438.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000326/0.3844, allocations: 125.8 kB / 438.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006252/0.3851, allocations: 301.5 kB / 439.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.07385/0.4589, allocations: 26.16 MB / 465.4 MB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.459, allocations: 0 / 465.4 MB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.459, allocations: 0 / 465.4 MB, free: 3.852 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.617e-06/0.459, allocations: 3.938 kB / 465.4 MB, free: 3.848 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.007599/0.4666, allocations: 1.422 MB / 466.8 MB, free: 2.379 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.4666, allocations: 8.031 kB / 466.8 MB, free: 2.371 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007179/0.4674, allocations: 91.39 kB / 466.9 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/0.4678, allocations: 384.4 kB / 467.3 MB, free: 1.871 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.4679, allocations: 37 kB / 467.3 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.848e-05/0.468, allocations: 51.91 kB / 467.4 MB, free: 1.785 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.4691, allocations: 0.6166 MB / 468 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.4691, allocations: 7.984 kB / 468 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.93e-05/0.4692, allocations: 20 kB / 468 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.4692, allocations: 16 kB / 468 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009493/0.4702, allocations: 0.5268 MB / 468.6 MB, free: 0.5664 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.003716/0.4739, allocations: 3.8 MB / 472.4 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008616/0.4748, allocations: 416.7 kB / 472.8 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.4751, allocations: 213.3 kB / 473 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002971/0.4781, allocations: 3.453 MB / 476.4 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.4781, allocations: 46.92 kB / 476.5 MB, free: 7.656 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.494e-06/0.4781, allocations: 0 / 476.5 MB, free: 7.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.009502/0.4876, allocations: 2.021 MB / 478.5 MB, free: 5.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.4877, allocations: 55.84 kB / 478.6 MB, free: 5.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.488, allocations: 312.4 kB / 478.9 MB, free: 5.184 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.4881, allocations: 37.7 kB / 478.9 MB, free: 5.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.4882, allocations: 231.3 kB / 479.1 MB, free: 4.914 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.4884, allocations: 194.5 kB / 479.3 MB, free: 4.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.4885, allocations: 114.3 kB / 479.4 MB, free: 4.609 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4887, allocations: 350.8 kB / 479.8 MB, free: 4.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.489, allocations: 181.2 kB / 479.9 MB, free: 4.082 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/0.4894, allocations: 333.7 kB / 480.3 MB, free: 3.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007535/0.4901, allocations: 0.5485 MB / 480.8 MB, free: 3.094 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.4901, allocations: 0 / 480.8 MB, free: 3.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001225/0.4914, allocations: 0.685 MB / 481.5 MB, free: 2.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4914, allocations: 4 kB / 481.5 MB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.4914, allocations: 4.562 kB / 481.5 MB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009813/0.5012, allocations: 454 kB / 482 MB, free: 1.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005761/0.5018, allocations: 139.8 kB / 482.1 MB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.5037, allocations: 2.99 MB / 485.1 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/0.5041, allocations: 48.09 kB / 485.1 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/0.5042, allocations: 31.94 kB / 485.2 MB, free: 14.52 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.0002507/0.5045, allocations: 185.7 kB / 485.3 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.5046, allocations: 39.53 kB / 485.4 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.5061, allocations: 1.061 MB / 486.4 MB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.5062, allocations: 11.94 kB / 486.5 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5062, allocations: 3.984 kB / 486.5 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001161/0.5073, allocations: 1.087 MB / 487.5 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.5094, allocations: 1.734 MB / 489.3 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.5094, allocations: 0 / 489.3 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003791/0.5098, allocations: 115.8 kB / 489.4 MB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003243/0.513, allocations: 337.2 kB / 489.7 MB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/0.5131, allocations: 19.98 kB / 489.7 MB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006333/0.5137, allocations: 1.148 MB / 490.9 MB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5137, allocations: 0 / 490.9 MB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.5151, allocations: 1.127 MB / 492 MB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.5153, allocations: 124.5 kB / 492.1 MB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.048e-05/0.5154, allocations: 19.94 kB / 492.2 MB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.5157, allocations: 35.92 kB / 492.2 MB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.5157, allocations: 36.45 kB / 492.2 MB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/0.5158, allocations: 23.98 kB / 492.3 MB, free: 7.184 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002372/0.516, allocations: 243 kB / 492.5 MB, free: 6.949 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.516, allocations: 4 kB / 492.5 MB, free: 6.945 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005851/0.5219, allocations: 0.9644 MB / 493.5 MB, free: 5.98 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.04285/0.5648, allocations: 7.863 MB / 0.4896 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00166/0.5665, allocations: 0.7138 MB / 0.4903 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.5665, allocations: 0 / 0.4903 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000662/0.5671, allocations: 367.5 kB / 0.4906 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.5686, allocations: 253.1 kB / 0.4909 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.5709, allocations: 1.559 MB / 0.4924 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/0.5714, allocations: 0.8687 MB / 0.4932 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005348/0.572, allocations: 248.1 kB / 0.4935 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.5721, allocations: 43.44 kB / 0.4935 GB, free: 10.18 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5721, allocations: 3.938 kB / 0.4935 GB, free: 10.17 MB / 414.1 MB Notification: Performance of Templates: time 0.04806/0.6202, allocations: 35.5 MB / 0.5282 GB, free: 6.637 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