Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.00139/0.00139, allocations: 103.6 kB / 17.59 MB, free: 5.562 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.001151/0.001151, allocations: 191.6 kB / 18.52 MB, free: 4.641 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.371/1.371, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009882/0.0009883, allocations: 51.95 kB / 301.3 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08896/0.08997, allocations: 49.44 MB / 350.7 MB, free: 4.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.192/0.282, allocations: 37.62 MB / 388.3 MB, free: 5.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03193/0.314, allocations: 30.61 MB / 419 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006365/0.3147, allocations: 11.69 kB / 419 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.316, allocations: 413.6 kB / 419.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.3172, allocations: 0.5077 MB / 419.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01486/0.3321, allocations: 5.138 MB / 425 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001657/0.3338, allocations: 1.355 MB / 426.4 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002906/0.3341, allocations: 175.2 kB / 426.5 MB, free: 8.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007971/0.3349, allocations: 0.5255 MB / 427.1 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004779/0.3354, allocations: 446.3 kB / 427.5 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.731e-05/0.3355, allocations: 52 kB / 427.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02497/0.3604, allocations: 12.78 MB / 440.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003182/0.3608, allocations: 151.5 kB / 440.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006323/0.3615, allocations: 322.7 kB / 440.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04276/0.4042, allocations: 14.9 MB / 455.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.4043, allocations: 0 / 455.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4043, allocations: 0 / 455.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.4043, allocations: 0 / 455.7 MB, free: 11.14 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.007647/0.4119, allocations: 1.419 MB / 457.1 MB, free: 9.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.412, allocations: 15.89 kB / 457.1 MB, free: 9.652 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007388/0.4128, allocations: 95.3 kB / 457.2 MB, free: 9.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.4132, allocations: 378 kB / 457.6 MB, free: 9.148 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/0.4133, allocations: 40.94 kB / 457.6 MB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.618e-05/0.4133, allocations: 47.94 kB / 457.7 MB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.4145, allocations: 0.6205 MB / 458.3 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.4145, allocations: 4 kB / 458.3 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/0.4146, allocations: 20 kB / 458.3 MB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.4146, allocations: 12 kB / 458.3 MB, free: 8.359 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009891/0.4156, allocations: 0.5307 MB / 458.9 MB, free: 7.828 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.004032/0.4196, allocations: 3.815 MB / 462.7 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008915/0.4205, allocations: 416.2 kB / 463.1 MB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.4209, allocations: 213.5 kB / 463.3 MB, free: 3.082 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003078/0.4239, allocations: 3.451 MB / 466.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.424, allocations: 38.94 kB / 466.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.113e-06/0.424, allocations: 0 / 466.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.009214/0.4332, allocations: 2.031 MB / 468.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.4333, allocations: 63.83 kB / 468.9 MB, free: 12.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.4336, allocations: 308.4 kB / 469.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.4336, allocations: 37.7 kB / 469.2 MB, free: 12.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.4338, allocations: 228.5 kB / 469.4 MB, free: 12.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.4339, allocations: 189.3 kB / 469.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.4341, allocations: 118.2 kB / 469.7 MB, free: 11.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4342, allocations: 350.8 kB / 470.1 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.4345, allocations: 177.2 kB / 470.3 MB, free: 11.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/0.4349, allocations: 336 kB / 470.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007537/0.4357, allocations: 0.5451 MB / 471.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4357, allocations: 0 / 471.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001225/0.4369, allocations: 0.6702 MB / 471.8 MB, free: 9.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4369, allocations: 8 kB / 471.8 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.437, allocations: 7.938 kB / 471.8 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01244/0.4494, allocations: 459.4 kB / 472.3 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.4506, allocations: 143.8 kB / 472.4 MB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003296/0.4539, allocations: 3.077 MB / 475.5 MB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005934/0.4545, allocations: 27.92 kB / 475.5 MB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.372e-05/0.4546, allocations: 24.25 kB / 475.5 MB, free: 5.652 MB / 382.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.0004135/0.455, allocations: 197.2 kB / 475.7 MB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.4553, allocations: 47.52 kB / 475.8 MB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002756/0.458, allocations: 1.048 MB / 476.8 MB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-05/0.4581, allocations: 15.97 kB / 476.8 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.4581, allocations: 4 kB / 476.8 MB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002107/0.4602, allocations: 1.087 MB / 477.9 MB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00379/0.464, allocations: 1.738 MB / 479.7 MB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.4641, allocations: 0 / 479.7 MB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007599/0.4648, allocations: 99.83 kB / 479.8 MB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005527/0.4704, allocations: 361 kB / 480.1 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-05/0.4705, allocations: 12 kB / 480.1 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.4716, allocations: 1.148 MB / 481.3 MB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.4717, allocations: 0 / 481.3 MB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/0.4744, allocations: 1.124 MB / 482.4 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.4746, allocations: 120.5 kB / 482.5 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.4747, allocations: 19.84 kB / 482.5 MB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004718/0.4752, allocations: 15.94 kB / 482.6 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.424e-05/0.4753, allocations: 32.52 kB / 482.6 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.686e-05/0.4754, allocations: 23.98 kB / 482.6 MB, free: 14.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004726/0.4759, allocations: 255 kB / 482.9 MB, free: 14.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4759, allocations: 4 kB / 482.9 MB, free: 14.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.008376/0.4843, allocations: 0.9527 MB / 483.8 MB, free: 13.11 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.083/0.5674, allocations: 7.871 MB / 491.7 MB, free: 5.223 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003134/0.5705, allocations: 0.7396 MB / 492.4 MB, free: 4.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.5706, allocations: 0 / 492.4 MB, free: 4.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.5716, allocations: 363.6 kB / 492.8 MB, free: 4.121 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/0.5743, allocations: 265.6 kB / 493 MB, free: 3.867 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003758/0.5781, allocations: 1.378 MB / 494.4 MB, free: 2.457 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005765/0.5787, allocations: 0.8609 MB / 495.3 MB, free: 1.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.5789, allocations: 55.42 kB / 495.3 MB, free: 1.516 MB / 398.1 MB Notification: Performance of SimCode: time 1.233e-06/0.5789, allocations: 0 / 495.3 MB, free: 1.516 MB / 398.1 MB Notification: Performance of Templates: time 0.05084/0.6298, allocations: 38.64 MB / 0.5215 GB, free: 10.84 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches