Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001199/0.001199, allocations: 107.4 kB / 17.98 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 209.8 kB / 18.92 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 58.69 kB / 307.1 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09522/0.09659, allocations: 50.54 MB / 357.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1892/0.2859, allocations: 26.48 MB / 384.1 MB, free: 5.883 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02426/0.3102, allocations: 24.79 MB / 408.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005107/0.3107, allocations: 8.75 kB / 408.9 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008919/0.3116, allocations: 260.3 kB / 409.2 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008303/0.3125, allocations: 339.2 kB / 409.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01277/0.3253, allocations: 3.553 MB / 413 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.3267, allocations: 0.9479 MB / 414 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/0.3269, allocations: 110.6 kB / 414.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006284/0.3276, allocations: 388.2 kB / 414.5 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/0.3279, allocations: 314.4 kB / 414.8 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.262e-05/0.328, allocations: 36.56 kB / 414.8 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03592/0.3639, allocations: 30.09 MB / 444.9 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.3642, allocations: 111.6 kB / 445 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004177/0.3646, allocations: 231.1 kB / 445.3 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02257/0.3872, allocations: 10.7 MB / 456 MB, free: 8.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3872, allocations: 7.875 kB / 456 MB, free: 8.742 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3872, allocations: 0 / 456 MB, free: 8.742 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.3872, allocations: 0 / 456 MB, free: 8.742 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.00653/0.3938, allocations: 1.143 MB / 457.1 MB, free: 7.547 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.3938, allocations: 8.031 kB / 457.1 MB, free: 7.539 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005752/0.3944, allocations: 71.5 kB / 457.2 MB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.3949, allocations: 322.3 kB / 457.5 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.3949, allocations: 20.66 kB / 457.5 MB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-05/0.3949, allocations: 32 kB / 457.5 MB, free: 7.062 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008492/0.3958, allocations: 463.8 kB / 458 MB, free: 6.578 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.3958, allocations: 3.906 kB / 458 MB, free: 6.574 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/0.3959, allocations: 16 kB / 458 MB, free: 6.559 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.3959, allocations: 8 kB / 458 MB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006963/0.3966, allocations: 386.3 kB / 458.4 MB, free: 6.172 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.003013/0.3996, allocations: 2.941 MB / 461.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006603/0.4003, allocations: 302.6 kB / 461.6 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.4005, allocations: 137.5 kB / 461.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002165/0.4027, allocations: 2.47 MB / 464.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.4027, allocations: 42.56 kB / 464.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.204e-06/0.4028, allocations: 0 / 464.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005457/0.4082, allocations: 1.281 MB / 465.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.4083, allocations: 55.41 kB / 465.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.4085, allocations: 258.5 kB / 465.9 MB, free: 13.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.4086, allocations: 33.7 kB / 465.9 MB, free: 13.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.4087, allocations: 195.9 kB / 466.1 MB, free: 13.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.355e-05/0.4088, allocations: 122.3 kB / 466.2 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.4089, allocations: 82.03 kB / 466.3 MB, free: 13.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.4091, allocations: 342.7 kB / 466.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.4093, allocations: 112.8 kB / 466.7 MB, free: 12.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/0.4095, allocations: 230 kB / 467 MB, free: 12.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005078/0.41, allocations: 384.2 kB / 467.3 MB, free: 12.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.4101, allocations: 4 kB / 467.3 MB, free: 12.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008357/0.4109, allocations: 458.6 kB / 467.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.4109, allocations: 4 kB / 467.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.411, allocations: 4 kB / 467.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005213/0.4162, allocations: 241.9 kB / 468 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/0.4166, allocations: 83.91 kB / 468.1 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.418, allocations: 1.95 MB / 470.1 MB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.4184, allocations: 27.64 kB / 470.1 MB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/0.4184, allocations: 23.98 kB / 470.1 MB, free: 9.301 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.0002521/0.4187, allocations: 172 kB / 470.3 MB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.4188, allocations: 31.62 kB / 470.3 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.4199, allocations: 0.689 MB / 471 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.4199, allocations: 11.98 kB / 471 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.4199, allocations: 0 / 471 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008233/0.4208, allocations: 0.8595 MB / 471.9 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.4223, allocations: 1.19 MB / 473.1 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.4223, allocations: 0 / 473.1 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.4226, allocations: 63.91 kB / 473.1 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001703/0.4243, allocations: 180.6 kB / 473.3 MB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/0.4244, allocations: 8 kB / 473.3 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000394/0.4248, allocations: 0.5756 MB / 473.9 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4248, allocations: 0 / 473.9 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.4258, allocations: 0.7291 MB / 474.6 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.426, allocations: 120.6 kB / 474.7 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.31e-05/0.426, allocations: 7.906 kB / 474.7 MB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.4263, allocations: 23.81 kB / 474.8 MB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.4264, allocations: 27.95 kB / 474.8 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.4264, allocations: 16.06 kB / 474.8 MB, free: 4.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002468/0.4266, allocations: 221.9 kB / 475 MB, free: 4.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4267, allocations: 0 / 475 MB, free: 4.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004363/0.431, allocations: 0.7418 MB / 475.8 MB, free: 3.414 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.03639/0.4674, allocations: 6.401 MB / 482.2 MB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.4687, allocations: 495.1 kB / 482.7 MB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.4687, allocations: 4.125 kB / 482.7 MB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004365/0.4691, allocations: 224.1 kB / 482.9 MB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.4703, allocations: 187.9 kB / 483.1 MB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.4721, allocations: 1.095 MB / 484.2 MB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.4725, allocations: 0.8012 MB / 485 MB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.4727, allocations: 47.42 kB / 485 MB, free: 10.09 MB / 398.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4727, allocations: 0 / 485 MB, free: 10.09 MB / 398.1 MB Notification: Performance of Templates: time 0.04079/0.5135, allocations: 29.3 MB / 0.5023 GB, free: 12.76 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches