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.00166/0.00166, allocations: 113.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002026/0.002026, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.009/2.009, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 55.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4021, allocations: 50.53 MB / 409.9 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.05431/0.4565, allocations: 26.68 MB / 436.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04738/0.5039, allocations: 24.91 MB / 461.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006298/0.5046, allocations: 4 kB / 461.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.5063, allocations: 282.4 kB / 461.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.508, allocations: 373.8 kB / 462.2 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02275/0.5308, allocations: 4.013 MB / 466.2 MB, free: 9.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002275/0.5331, allocations: 0.9503 MB / 467.1 MB, free: 8.242 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004378/0.5336, allocations: 113 kB / 467.2 MB, free: 8.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.5349, allocations: 386.6 kB / 467.6 MB, free: 7.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008856/0.5359, allocations: 306.8 kB / 467.9 MB, free: 7.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000183/0.5361, allocations: 40 kB / 468 MB, free: 7.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03289/0.569, allocations: 10.42 MB / 478.4 MB, free: 12.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003348/0.5694, allocations: 107.6 kB / 478.5 MB, free: 12.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006442/0.57, allocations: 227.1 kB / 478.7 MB, free: 12.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04399/0.6141, allocations: 11.49 MB / 490.2 MB, free: 1.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.357e-06/0.6141, allocations: 0 / 490.2 MB, free: 1.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6141, allocations: 0 / 490.2 MB, free: 1.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.467e-05/0.6142, allocations: 0 / 490.2 MB, free: 1.141 MB / 398.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.008611/0.6228, allocations: 1.15 MB / 491.3 MB, free: 15.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.6229, allocations: 12.03 kB / 491.3 MB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009707/0.6239, allocations: 63.58 kB / 491.4 MB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007477/0.6246, allocations: 322.2 kB / 491.7 MB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.6247, allocations: 24.66 kB / 491.7 MB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.184e-05/0.6248, allocations: 32 kB / 491.8 MB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.6263, allocations: 467.7 kB / 492.2 MB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.6264, allocations: 7.922 kB / 492.2 MB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.359e-05/0.6264, allocations: 12 kB / 492.3 MB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.6265, allocations: 11.94 kB / 492.3 MB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.6279, allocations: 394.3 kB / 492.7 MB, free: 14.55 MB / 414.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.004829/0.6327, allocations: 2.937 MB / 495.6 MB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006877/0.6334, allocations: 289.7 kB / 495.9 MB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.6336, allocations: 136.8 kB / 496 MB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002413/0.6361, allocations: 2.474 MB / 498.5 MB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.6361, allocations: 30.56 kB / 498.5 MB, free: 7.934 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.515e-06/0.6361, allocations: 0 / 498.5 MB, free: 7.934 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005269/0.6414, allocations: 1.298 MB / 499.8 MB, free: 6.559 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.6415, allocations: 55.41 kB / 499.9 MB, free: 6.492 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.6418, allocations: 262.5 kB / 0.4884 GB, free: 6.227 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.6418, allocations: 37.7 kB / 0.4884 GB, free: 6.184 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.642, allocations: 192 kB / 0.4886 GB, free: 5.992 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/0.6421, allocations: 118.3 kB / 0.4887 GB, free: 5.875 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.6422, allocations: 78.12 kB / 0.4888 GB, free: 5.793 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6423, allocations: 338.8 kB / 0.4891 GB, free: 5.453 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.6425, allocations: 112.8 kB / 0.4892 GB, free: 5.344 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.6428, allocations: 234 kB / 0.4895 GB, free: 5.066 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005115/0.6434, allocations: 373.5 kB / 0.4898 GB, free: 4.652 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6434, allocations: 0 / 0.4898 GB, free: 4.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008348/0.6442, allocations: 466.5 kB / 0.4903 GB, free: 4.184 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.6443, allocations: 8 kB / 0.4903 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.6443, allocations: 4 kB / 0.4903 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004549/0.6488, allocations: 229.9 kB / 0.4905 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.6493, allocations: 95.83 kB / 0.4906 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.6509, allocations: 1.943 MB / 0.4925 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.6512, allocations: 16 kB / 0.4925 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/0.6512, allocations: 19.98 kB / 0.4925 GB, free: 1.703 MB / 414.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.0002267/0.6515, allocations: 165 kB / 0.4927 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.475e-05/0.6516, allocations: 35.81 kB / 0.4927 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.6527, allocations: 0.6969 MB / 0.4934 GB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.6527, allocations: 7.984 kB / 0.4934 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.6527, allocations: 0 / 0.4934 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008622/0.6536, allocations: 0.8633 MB / 0.4942 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.6551, allocations: 1.191 MB / 0.4954 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.6551, allocations: 0 / 0.4954 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.6554, allocations: 63.97 kB / 0.4955 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001556/0.657, allocations: 184.5 kB / 0.4956 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.657, allocations: 11.94 kB / 0.4956 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003747/0.6574, allocations: 0.568 MB / 0.4962 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.6574, allocations: 7.969 kB / 0.4962 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009877/0.6584, allocations: 0.7302 MB / 0.4969 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.6585, allocations: 116.6 kB / 0.497 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.6586, allocations: 4 kB / 0.497 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.6588, allocations: 12.16 kB / 0.497 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.6588, allocations: 27.91 kB / 0.4971 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.6589, allocations: 12 kB / 0.4971 GB, free: 12.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002303/0.6591, allocations: 221.9 kB / 0.4973 GB, free: 12.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6591, allocations: 0 / 0.4973 GB, free: 12.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004648/0.6638, allocations: 0.7457 MB / 0.498 GB, free: 11.82 MB / 430.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.02495/0.6887, allocations: 6.389 MB / 0.5043 GB, free: 5.414 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.6898, allocations: 481.5 kB / 0.5047 GB, free: 4.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6899, allocations: 0 / 0.5047 GB, free: 4.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004126/0.6903, allocations: 220 kB / 0.5049 GB, free: 4.711 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.6914, allocations: 193.4 kB / 0.5051 GB, free: 4.523 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.693, allocations: 0.9261 MB / 0.506 GB, free: 3.562 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.6934, allocations: 0.809 MB / 0.5068 GB, free: 2.723 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.6935, allocations: 47.42 kB / 0.5069 GB, free: 2.68 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6936, allocations: 0 / 0.5069 GB, free: 2.68 MB / 430.1 MB Notification: Performance of Templates: time 0.03744/0.731, allocations: 29.39 MB / 0.5356 GB, free: 5.266 MB / 462.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