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.001097/0.001098, allocations: 96.94 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001414, allocations: 208.1 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.7 MB / 247.5 MB, free: 9.512 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002436/0.0002438, allocations: 8 kB / 308.4 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09561/0.09587, allocations: 51.52 MB / 359.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.2118/0.3077, allocations: 25.78 MB / 385.7 MB, free: 5.906 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02639/0.3341, allocations: 25.27 MB / 411 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005448/0.3347, allocations: 6.688 kB / 411 MB, free: 4 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009006/0.3356, allocations: 246.8 kB / 411.2 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.3367, allocations: 357.4 kB / 411.5 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0128/0.3495, allocations: 3.254 MB / 414.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001786/0.3513, allocations: 1.396 MB / 416.2 MB, free: 484 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.3515, allocations: 80.19 kB / 416.3 MB, free: 440 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005746/0.3521, allocations: 337.4 kB / 416.6 MB, free: 272 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003902/0.3525, allocations: 301.2 kB / 416.9 MB, free: 108 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.479e-05/0.3525, allocations: 16.94 kB / 416.9 MB, free: 108 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03775/0.3903, allocations: 27.67 MB / 444.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002392/0.3906, allocations: 75.72 kB / 444.7 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004443/0.391, allocations: 236.8 kB / 444.9 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0221/0.4131, allocations: 10.68 MB / 455.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.4132, allocations: 4 kB / 455.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4132, allocations: 0 / 455.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.4132, allocations: 0 / 455.6 MB, free: 10.25 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.006243/0.4195, allocations: 1.057 MB / 456.6 MB, free: 9.145 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.4195, allocations: 8.031 kB / 456.7 MB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005835/0.4201, allocations: 63.59 kB / 456.7 MB, free: 9.074 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.4205, allocations: 330.1 kB / 457 MB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.4205, allocations: 28.66 kB / 457.1 MB, free: 8.684 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.161e-05/0.4206, allocations: 32 kB / 457.1 MB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008617/0.4215, allocations: 463.8 kB / 457.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.4215, allocations: 3.938 kB / 457.6 MB, free: 8.164 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/0.4215, allocations: 16 kB / 457.6 MB, free: 8.148 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.4216, allocations: 8 kB / 457.6 MB, free: 8.141 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007246/0.4223, allocations: 382.3 kB / 457.9 MB, free: 7.766 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.003263/0.4256, allocations: 2.949 MB / 460.9 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006638/0.4262, allocations: 298.7 kB / 461.2 MB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.4265, allocations: 136.8 kB / 461.3 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002375/0.4288, allocations: 2.529 MB / 463.9 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.4289, allocations: 42.56 kB / 463.9 MB, free: 1.062 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.384e-06/0.4289, allocations: 0 / 463.9 MB, free: 1.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.005197/0.4341, allocations: 1.286 MB / 465.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.4342, allocations: 55.41 kB / 465.2 MB, free: 15.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.4344, allocations: 262.5 kB / 465.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.4345, allocations: 29.7 kB / 465.5 MB, free: 15.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.4346, allocations: 192.1 kB / 465.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.084e-05/0.4347, allocations: 122.2 kB / 465.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.4348, allocations: 45.69 kB / 465.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.4349, allocations: 346.7 kB / 466.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.4351, allocations: 108.8 kB / 466.3 MB, free: 14.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.4354, allocations: 230 kB / 466.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/0.4359, allocations: 378 kB / 466.9 MB, free: 13.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4359, allocations: 0 / 466.9 MB, free: 13.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008173/0.4367, allocations: 458.8 kB / 467.4 MB, free: 13.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.4367, allocations: 8 kB / 467.4 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.4367, allocations: 4 kB / 467.4 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004608/0.4414, allocations: 233.4 kB / 467.6 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/0.4418, allocations: 92.08 kB / 467.7 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.4432, allocations: 1.852 MB / 469.5 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.4435, allocations: 19.98 kB / 469.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.172e-05/0.4436, allocations: 20 kB / 469.6 MB, free: 10.97 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.0002168/0.4438, allocations: 181.7 kB / 469.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.4439, allocations: 35.56 kB / 469.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.4449, allocations: 0.6901 MB / 470.5 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.4449, allocations: 8 kB / 470.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.4449, allocations: 0 / 470.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008036/0.4457, allocations: 0.8634 MB / 471.4 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.4472, allocations: 1.198 MB / 472.5 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.4473, allocations: 0 / 472.5 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.4475, allocations: 59.91 kB / 472.6 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001651/0.4492, allocations: 180.6 kB / 472.8 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.4492, allocations: 8 kB / 472.8 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003696/0.4496, allocations: 0.5796 MB / 473.4 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4496, allocations: 0 / 473.4 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009852/0.4506, allocations: 0.7329 MB / 474.1 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.4508, allocations: 124.6 kB / 474.2 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.674e-05/0.4508, allocations: 8.219 kB / 474.2 MB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.4511, allocations: 31.86 kB / 474.3 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.4511, allocations: 23.97 kB / 474.3 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.4511, allocations: 11.98 kB / 474.3 MB, free: 6.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002336/0.4514, allocations: 222 kB / 474.5 MB, free: 5.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4514, allocations: 3.938 kB / 474.5 MB, free: 5.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004348/0.4557, allocations: 0.7379 MB / 475.3 MB, free: 5.051 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.03411/0.4899, allocations: 6.401 MB / 481.7 MB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.4909, allocations: 477.7 kB / 482.1 MB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.491, allocations: 0 / 482.1 MB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000447/0.4914, allocations: 228.8 kB / 482.3 MB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.4927, allocations: 191.1 kB / 482.5 MB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.4945, allocations: 1.135 MB / 483.7 MB, free: 12.58 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.4949, allocations: 0.8129 MB / 484.5 MB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.495, allocations: 43.42 kB / 484.5 MB, free: 11.7 MB / 398.1 MB Notification: Performance of SimCode: time 9.21e-07/0.495, allocations: 3.938 kB / 484.5 MB, free: 11.69 MB / 398.1 MB Notification: Performance of Templates: time 0.04097/0.536, allocations: 29.25 MB / 0.5017 GB, free: 14.41 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