Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001337/0.001337, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001467/0.001467, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 68.03 kB / 307.6 MB, free: 0.6875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1094, allocations: 50.53 MB / 358.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2491/0.3585, allocations: 37.73 MB / 395.9 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03558/0.3942, allocations: 30.65 MB / 426.5 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009009/0.3951, allocations: 14.06 kB / 426.5 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.3966, allocations: 402.9 kB / 426.9 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.3984, allocations: 0.5107 MB / 427.4 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01702/0.4154, allocations: 5.143 MB / 432.6 MB, free: 428 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002075/0.4175, allocations: 1.352 MB / 433.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003349/0.4179, allocations: 171.5 kB / 434.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.419, allocations: 0.5332 MB / 434.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006084/0.4196, allocations: 438.3 kB / 435.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.776e-05/0.4197, allocations: 56 kB / 435.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02708/0.4468, allocations: 12.79 MB / 447.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003556/0.4472, allocations: 159.5 kB / 448.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005833/0.4478, allocations: 322.8 kB / 448.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04573/0.4935, allocations: 14.91 MB / 463.3 MB, free: 1.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.4936, allocations: 0 / 463.3 MB, free: 1.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.4936, allocations: 0 / 463.3 MB, free: 1.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.4936, allocations: 0 / 463.3 MB, free: 1.66 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.009902/0.5035, allocations: 1.419 MB / 464.7 MB, free: 192 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.5036, allocations: 12.03 kB / 464.7 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008165/0.5044, allocations: 100.8 kB / 464.8 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005599/0.505, allocations: 381.8 kB / 465.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.505, allocations: 37 kB / 465.2 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.548e-05/0.5051, allocations: 48 kB / 465.3 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.5063, allocations: 0.6166 MB / 465.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.5063, allocations: 3.938 kB / 465.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.981e-05/0.5063, allocations: 24 kB / 465.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.5064, allocations: 12 kB / 465.9 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009524/0.5073, allocations: 0.5268 MB / 466.4 MB, free: 14.35 MB / 382.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.004146/0.5115, allocations: 3.815 MB / 470.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009432/0.5124, allocations: 422.4 kB / 470.7 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.5128, allocations: 212.8 kB / 470.9 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003245/0.516, allocations: 3.467 MB / 474.4 MB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.5161, allocations: 34.94 kB / 474.4 MB, free: 5.398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 3.105e-06/0.5161, allocations: 0 / 474.4 MB, free: 5.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.009256/0.5254, allocations: 2.027 MB / 476.4 MB, free: 3.293 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.5254, allocations: 67.78 kB / 476.5 MB, free: 3.215 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003345/0.5258, allocations: 308.3 kB / 476.8 MB, free: 2.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.804e-05/0.5258, allocations: 37.7 kB / 476.8 MB, free: 2.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.526, allocations: 232.6 kB / 477 MB, free: 2.633 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.5262, allocations: 185.3 kB / 477.2 MB, free: 2.449 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.5263, allocations: 118.2 kB / 477.3 MB, free: 2.328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5265, allocations: 350.8 kB / 477.7 MB, free: 1.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.5268, allocations: 177.2 kB / 477.9 MB, free: 1.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.5272, allocations: 332.1 kB / 478.2 MB, free: 1.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007531/0.528, allocations: 0.5484 MB / 478.7 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.528, allocations: 0 / 478.7 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001259/0.5292, allocations: 0.6696 MB / 479.4 MB, free: 120 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.5293, allocations: 10.81 kB / 479.4 MB, free: 112 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.5293, allocations: 7.938 kB / 479.4 MB, free: 104 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009191/0.5385, allocations: 450.6 kB / 479.9 MB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006543/0.5392, allocations: 139.8 kB / 480 MB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.5414, allocations: 3.089 MB / 483.1 MB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003975/0.5419, allocations: 19.94 kB / 483.1 MB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.069e-05/0.542, allocations: 34.67 kB / 483.1 MB, free: 12.16 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.0003377/0.5423, allocations: 193.6 kB / 483.3 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.5425, allocations: 39.53 kB / 483.4 MB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/0.5442, allocations: 1.054 MB / 484.4 MB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.5442, allocations: 15.98 kB / 484.4 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.5442, allocations: 0 / 484.4 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001165/0.5454, allocations: 1.091 MB / 485.5 MB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/0.5476, allocations: 1.734 MB / 487.3 MB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.5476, allocations: 0 / 487.3 MB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003982/0.548, allocations: 99.89 kB / 487.4 MB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003141/0.5512, allocations: 353 kB / 487.7 MB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-05/0.5512, allocations: 19.98 kB / 487.7 MB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007331/0.552, allocations: 1.144 MB / 488.9 MB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.552, allocations: 0 / 488.9 MB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.5536, allocations: 1.131 MB / 490 MB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.5537, allocations: 120.5 kB / 490.1 MB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.517e-05/0.5538, allocations: 19.84 kB / 490.1 MB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.5541, allocations: 15.94 kB / 490.1 MB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/0.5542, allocations: 36.55 kB / 490.2 MB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/0.5542, allocations: 16.88 kB / 490.2 MB, free: 4.836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002968/0.5545, allocations: 255 kB / 490.4 MB, free: 4.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5546, allocations: 4 kB / 490.5 MB, free: 4.586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.006377/0.5609, allocations: 0.9527 MB / 491.4 MB, free: 3.633 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.04749/0.6085, allocations: 7.879 MB / 499.3 MB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002143/0.6106, allocations: 0.7396 MB / 0.4883 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.6107, allocations: 3.984 kB / 0.4883 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006433/0.6113, allocations: 367.5 kB / 0.4887 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.6129, allocations: 256.5 kB / 0.4889 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.6153, allocations: 1.379 MB / 0.4902 GB, free: 8.961 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.6158, allocations: 0.8725 MB / 0.4911 GB, free: 8.062 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.616, allocations: 55.42 kB / 0.4912 GB, free: 8.008 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.616, allocations: 0 / 0.4912 GB, free: 8.008 MB / 414.1 MB Notification: Performance of Templates: time 0.05381/0.6698, allocations: 38.76 MB / 0.529 GB, free: 1.207 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches