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.001503/0.001503, allocations: 112.7 kB / 17.75 MB, free: 5.336 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.00168/0.00168, allocations: 187 kB / 18.68 MB, free: 4.41 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.297/1.297, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009439/0.0009439, allocations: 43.94 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2088, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03394/0.2428, allocations: 37.63 MB / 439.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02964/0.2724, allocations: 30.6 MB / 469.7 MB, free: 4.402 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003326/0.2728, allocations: 11.94 kB / 469.7 MB, free: 4.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009279/0.2737, allocations: 421.7 kB / 470.1 MB, free: 3.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008938/0.2747, allocations: 0.5284 MB / 470.6 MB, free: 3.445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01214/0.2868, allocations: 5.23 MB / 475.8 MB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00165/0.2885, allocations: 1.363 MB / 477.2 MB, free: 12.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003015/0.2888, allocations: 174.5 kB / 477.4 MB, free: 12.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008976/0.2897, allocations: 0.5333 MB / 477.9 MB, free: 12.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000683/0.2904, allocations: 438.3 kB / 478.3 MB, free: 11.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.2905, allocations: 52 kB / 478.4 MB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02295/0.3135, allocations: 12.8 MB / 491.2 MB, free: 14.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.3137, allocations: 151.5 kB / 491.3 MB, free: 14.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000426/0.3142, allocations: 326.7 kB / 491.7 MB, free: 14.35 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03826/0.3524, allocations: 14.91 MB / 0.4947 GB, free: 15.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3525, allocations: 0 / 0.4947 GB, free: 15.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3525, allocations: 3.938 kB / 0.4947 GB, free: 15.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.3525, allocations: 4 kB / 0.4947 GB, free: 15.42 MB / 430.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.006689/0.3592, allocations: 1.419 MB / 0.4961 GB, free: 13.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3592, allocations: 11.89 kB / 0.4961 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007084/0.36, allocations: 95.33 kB / 0.4962 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005488/0.3605, allocations: 386 kB / 0.4966 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.3606, allocations: 40.94 kB / 0.4966 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.981e-05/0.3606, allocations: 51.91 kB / 0.4966 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.3618, allocations: 0.6205 MB / 0.4972 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.3618, allocations: 0 / 0.4972 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.397e-05/0.3619, allocations: 24 kB / 0.4973 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.3619, allocations: 12 kB / 0.4973 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.3629, allocations: 0.5268 MB / 0.4978 GB, free: 12.1 MB / 430.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.004229/0.3672, allocations: 3.803 MB / 0.5015 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009146/0.3681, allocations: 415.7 kB / 0.5019 GB, free: 7.578 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.3684, allocations: 213.5 kB / 0.5021 GB, free: 7.367 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00305/0.3715, allocations: 3.455 MB / 0.5055 GB, free: 3.211 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.3715, allocations: 42.94 kB / 0.5055 GB, free: 3.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=46): time 1.934e-06/0.3715, allocations: 0 / 0.5055 GB, free: 3.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=54): time 0.009682/0.3812, allocations: 2.025 MB / 0.5075 GB, free: 1.055 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.3813, allocations: 59.84 kB / 0.5076 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.3816, allocations: 308.4 kB / 0.5079 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.3816, allocations: 37.7 kB / 0.5079 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.3818, allocations: 232.6 kB / 0.5081 GB, free: 408 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.3819, allocations: 189.2 kB / 0.5083 GB, free: 216 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.3821, allocations: 114.3 kB / 0.5084 GB, free: 96 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3822, allocations: 350.8 kB / 0.5087 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.3825, allocations: 181.2 kB / 0.5089 GB, free: 15.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/0.3829, allocations: 336 kB / 0.5092 GB, free: 15.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007398/0.3837, allocations: 0.5407 MB / 0.5098 GB, free: 14.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3837, allocations: 0 / 0.5098 GB, free: 14.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001232/0.3849, allocations: 0.6734 MB / 0.5104 GB, free: 13.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.385, allocations: 16.48 kB / 0.5104 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.385, allocations: 11.94 kB / 0.5104 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/0.3952, allocations: 442 kB / 0.5109 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005548/0.3958, allocations: 143.8 kB / 0.511 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.3977, allocations: 3.097 MB / 0.514 GB, free: 9.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.398, allocations: 15.94 kB / 0.514 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.123e-05/0.3981, allocations: 32.23 kB / 0.5141 GB, free: 9.922 MB / 446.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.0002403/0.3983, allocations: 195.3 kB / 0.5143 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.3985, allocations: 39.53 kB / 0.5143 GB, free: 9.684 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.4, allocations: 1.044 MB / 0.5153 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001156/0.4011, allocations: 1.099 MB / 0.5164 GB, free: 7.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.4011, allocations: 0 / 0.5164 GB, free: 7.445 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.4013, allocations: 124.4 kB / 0.5165 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.396e-05/0.4013, allocations: 12 kB / 0.5165 GB, free: 7.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.4016, allocations: 12 kB / 0.5165 GB, free: 7.281 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/0.4017, allocations: 32.52 kB / 0.5166 GB, free: 7.25 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001476/0.4032, allocations: 0.813 MB / 0.5174 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001336/0.4045, allocations: 1.118 MB / 0.5184 GB, free: 5.289 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000387/0.4049, allocations: 300.8 kB / 0.5187 GB, free: 5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002469/0.4052, allocations: 255 kB / 0.519 GB, free: 4.754 MB / 446.1 MB Notification: Performance of Backend: time 4.61e-07/0.4052, allocations: 0 / 0.519 GB, free: 4.754 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.05045/0.4556, allocations: 12.66 MB / 0.5313 GB, free: 8.047 MB / 462.1 MB Notification: Performance of SimCode: time 0.002149/0.4578, allocations: 1.594 MB / 0.5329 GB, free: 6.402 MB / 462.1 MB Notification: Performance of Templates: time 0.2024/0.6603, allocations: 41.51 MB / 0.5734 GB, free: 101.6 MB / 462.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