Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.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.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007887/0.0007887, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.0008681/0.0008681, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.311/1.311, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002559/0.0002559, allocations: 8.188 kB / 301.4 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09098/0.09125, allocations: 50.41 MB / 351.8 MB, free: 3.469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.2016/0.2929, allocations: 25.69 MB / 377.5 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02572/0.3187, allocations: 25.22 MB / 402.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005395/0.3193, allocations: 4.094 kB / 402.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008634/0.3201, allocations: 244.3 kB / 403 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008482/0.321, allocations: 354.5 kB / 403.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01257/0.3336, allocations: 3.265 MB / 406.6 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001995/0.3356, allocations: 1.391 MB / 408 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.3358, allocations: 81.02 kB / 408.1 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005612/0.3364, allocations: 342.5 kB / 408.4 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000365/0.3368, allocations: 306.1 kB / 408.7 MB, free: 8.828 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.144e-05/0.3368, allocations: 17.09 kB / 408.7 MB, free: 8.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03752/0.3743, allocations: 27.66 MB / 436.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.3746, allocations: 83.72 kB / 436.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004679/0.3751, allocations: 232.8 kB / 436.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04446/0.4195, allocations: 20.12 MB / 456.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4196, allocations: 3.938 kB / 456.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4196, allocations: 4 kB / 456.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.4196, allocations: 0 / 456.8 MB, free: 10.77 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.006481/0.4261, allocations: 1.053 MB / 457.9 MB, free: 9.664 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.4261, allocations: 8.031 kB / 457.9 MB, free: 9.656 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005637/0.4267, allocations: 75.52 kB / 457.9 MB, free: 9.582 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.4271, allocations: 310.3 kB / 458.3 MB, free: 9.238 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.4272, allocations: 20.66 kB / 458.3 MB, free: 9.219 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.699e-05/0.4272, allocations: 40 kB / 458.3 MB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008585/0.4281, allocations: 455.8 kB / 458.8 MB, free: 8.695 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.4281, allocations: 7.938 kB / 458.8 MB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.4282, allocations: 16 kB / 458.8 MB, free: 8.672 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.4282, allocations: 11.94 kB / 458.8 MB, free: 8.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007216/0.4289, allocations: 390.3 kB / 459.2 MB, free: 8.281 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.00327/0.4322, allocations: 2.945 MB / 462.1 MB, free: 5.098 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006132/0.4328, allocations: 294.7 kB / 462.4 MB, free: 4.801 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.433, allocations: 132.8 kB / 462.5 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002483/0.4355, allocations: 2.533 MB / 465.1 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.4356, allocations: 34.56 kB / 465.1 MB, free: 1.594 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.234e-06/0.4356, allocations: 7.938 kB / 465.1 MB, free: 1.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.005158/0.4407, allocations: 1.29 MB / 466.4 MB, free: 224 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.4408, allocations: 55.41 kB / 466.5 MB, free: 156 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.4411, allocations: 266.4 kB / 466.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.393e-05/0.4411, allocations: 33.7 kB / 466.7 MB, free: 15.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.4413, allocations: 184.2 kB / 466.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.936e-05/0.4414, allocations: 126.1 kB / 467 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/0.4415, allocations: 45.7 kB / 467.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.4416, allocations: 342.7 kB / 467.4 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.4418, allocations: 112.8 kB / 467.5 MB, free: 15.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.4421, allocations: 230 kB / 467.8 MB, free: 14.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004837/0.4426, allocations: 382.6 kB / 468.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4426, allocations: 0 / 468.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007852/0.4434, allocations: 459 kB / 468.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.4434, allocations: 4 kB / 468.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4434, allocations: 4 kB / 468.6 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004689/0.4481, allocations: 237.4 kB / 468.8 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.4485, allocations: 91.83 kB / 468.9 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.4498, allocations: 1.844 MB / 470.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.4501, allocations: 27.98 kB / 470.8 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.4501, allocations: 16 kB / 470.8 MB, free: 11.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001919/0.4503, allocations: 169.7 kB / 471 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.554e-05/0.4504, allocations: 39.61 kB / 471 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.4514, allocations: 0.6834 MB / 471.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.4514, allocations: 11.97 kB / 471.7 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4514, allocations: 3.938 kB / 471.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007727/0.4522, allocations: 0.8632 MB / 472.6 MB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.4536, allocations: 1.191 MB / 473.8 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.4536, allocations: 0 / 473.8 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.4539, allocations: 67.89 kB / 473.8 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001643/0.4556, allocations: 180.5 kB / 474 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.4556, allocations: 11.98 kB / 474 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003162/0.4559, allocations: 0.5757 MB / 474.6 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4559, allocations: 0 / 474.6 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009105/0.4568, allocations: 0.7374 MB / 475.3 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-05/0.4569, allocations: 132.5 kB / 475.5 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.457, allocations: 8.062 kB / 475.5 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.4572, allocations: 32.02 kB / 475.5 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.4573, allocations: 19.97 kB / 475.5 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.4573, allocations: 16 kB / 475.5 MB, free: 6.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000215/0.4575, allocations: 217.9 kB / 475.7 MB, free: 6.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4576, allocations: 0 / 475.7 MB, free: 6.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004251/0.4618, allocations: 0.7379 MB / 476.5 MB, free: 5.582 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03541/0.4972, allocations: 6.388 MB / 482.9 MB, free: 15.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.4984, allocations: 490 kB / 483.3 MB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.4984, allocations: 0 / 483.3 MB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004298/0.4988, allocations: 217.5 kB / 483.6 MB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.5001, allocations: 182.2 kB / 483.7 MB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.5019, allocations: 1.116 MB / 484.9 MB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.5023, allocations: 0.809 MB / 485.7 MB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004725/0.5028, allocations: 186.9 kB / 485.8 MB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.5029, allocations: 39.44 kB / 485.9 MB, free: 12.1 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.5029, allocations: 0 / 485.9 MB, free: 12.1 MB / 398.1 MB Notification: Performance of Templates: time 0.0428/0.5457, allocations: 28.52 MB / 0.5023 GB, free: 15.59 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches