Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001086/0.001085, allocations: 111.7 kB / 17.73 MB, free: 5.359 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.001088/0.001088, allocations: 188.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 51.94 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08466/0.08591, allocations: 46.62 MB / 375.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2083/0.2943, allocations: 37.65 MB / 412.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0315/0.3258, allocations: 30.6 MB / 443.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006459/0.3265, allocations: 12 kB / 443.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.3278, allocations: 409.6 kB / 443.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.3295, allocations: 0.5166 MB / 444.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0173/0.3468, allocations: 5.137 MB / 449.5 MB, free: 5.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001995/0.3488, allocations: 1.348 MB / 450.8 MB, free: 3.805 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003193/0.3491, allocations: 170.5 kB / 451 MB, free: 3.633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008251/0.35, allocations: 0.541 MB / 451.5 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005199/0.3505, allocations: 434.3 kB / 452 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.037e-05/0.3506, allocations: 59.94 kB / 452 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02577/0.3764, allocations: 12.79 MB / 464.8 MB, free: 5.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002906/0.3767, allocations: 151.5 kB / 465 MB, free: 5.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004686/0.3772, allocations: 326.8 kB / 465.3 MB, free: 5.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04137/0.4186, allocations: 14.91 MB / 480.2 MB, free: 6.391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4186, allocations: 0 / 480.2 MB, free: 6.391 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4186, allocations: 0 / 480.2 MB, free: 6.391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.4186, allocations: 0 / 480.2 MB, free: 6.391 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.008047/0.4267, allocations: 1.424 MB / 481.6 MB, free: 4.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.4267, allocations: 15.89 kB / 481.6 MB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007092/0.4275, allocations: 91.39 kB / 481.7 MB, free: 4.812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005488/0.428, allocations: 393.8 kB / 482.1 MB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.4281, allocations: 37 kB / 482.1 MB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.399e-05/0.4281, allocations: 44 kB / 482.2 MB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.4293, allocations: 0.6166 MB / 482.8 MB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.4293, allocations: 11.84 kB / 482.8 MB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-05/0.4294, allocations: 24 kB / 482.8 MB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.4294, allocations: 12 kB / 482.8 MB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009658/0.4304, allocations: 0.5268 MB / 483.4 MB, free: 3.07 MB / 398.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.003833/0.4342, allocations: 3.796 MB / 487.2 MB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000881/0.4351, allocations: 419.7 kB / 487.6 MB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.4354, allocations: 213.1 kB / 487.8 MB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003056/0.4385, allocations: 3.459 MB / 491.2 MB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.4385, allocations: 34.94 kB / 491.3 MB, free: 10.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 2.164e-06/0.4386, allocations: 4 kB / 491.3 MB, free: 10.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009267/0.4478, allocations: 2.025 MB / 493.3 MB, free: 8.031 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.4479, allocations: 63.77 kB / 493.4 MB, free: 7.957 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/0.4482, allocations: 308.4 kB / 493.7 MB, free: 7.645 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.4482, allocations: 37.7 kB / 493.7 MB, free: 7.602 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.4484, allocations: 236.6 kB / 493.9 MB, free: 7.367 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.4485, allocations: 193.2 kB / 494.1 MB, free: 7.176 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.4487, allocations: 114.3 kB / 494.2 MB, free: 7.055 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4488, allocations: 350.8 kB / 494.6 MB, free: 6.703 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.4491, allocations: 173.2 kB / 494.7 MB, free: 6.535 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/0.4495, allocations: 332.1 kB / 495.1 MB, free: 6.152 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007546/0.4503, allocations: 0.5551 MB / 495.6 MB, free: 5.539 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4503, allocations: 4 kB / 495.6 MB, free: 5.535 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0012/0.4515, allocations: 0.6658 MB / 496.3 MB, free: 4.852 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.4515, allocations: 8 kB / 496.3 MB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.4515, allocations: 7.938 kB / 496.3 MB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0094/0.461, allocations: 446.5 kB / 496.7 MB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005574/0.4615, allocations: 143.8 kB / 496.9 MB, free: 4.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.4636, allocations: 3.081 MB / 500 MB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.4639, allocations: 27.92 kB / 500 MB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.464, allocations: 26 kB / 0.4883 GB, free: 0.9023 MB / 414.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.0002401/0.4642, allocations: 185.7 kB / 0.4885 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.4643, allocations: 47.52 kB / 0.4885 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.4659, allocations: 1.054 MB / 0.4896 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.4659, allocations: 11.97 kB / 0.4896 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.4659, allocations: 0 / 0.4896 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001123/0.467, allocations: 1.095 MB / 0.4906 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.4691, allocations: 1.725 MB / 0.4923 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.4691, allocations: 4 kB / 0.4923 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/0.4695, allocations: 99.89 kB / 0.4924 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003046/0.4725, allocations: 349 kB / 0.4928 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.4726, allocations: 16 kB / 0.4928 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006406/0.4732, allocations: 1.148 MB / 0.4939 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4733, allocations: 3.984 kB / 0.4939 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.4747, allocations: 1.132 MB / 0.495 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.4748, allocations: 120.5 kB / 0.4951 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.828e-05/0.4749, allocations: 17.56 kB / 0.4951 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.4751, allocations: 20.03 kB / 0.4951 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.4752, allocations: 32.52 kB / 0.4952 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.4752, allocations: 19.98 kB / 0.4952 GB, free: 9.578 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002475/0.4755, allocations: 247 kB / 0.4954 GB, free: 9.336 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4755, allocations: 0 / 0.4954 GB, free: 9.336 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005862/0.4814, allocations: 0.9644 MB / 0.4964 GB, free: 8.371 MB / 430.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.02917/0.5106, allocations: 7.872 MB / 0.5041 GB, free: 488 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001756/0.5123, allocations: 0.7202 MB / 0.5048 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.5124, allocations: 4 kB / 0.5048 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006073/0.513, allocations: 371.4 kB / 0.5051 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.5144, allocations: 265.6 kB / 0.5054 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.5166, allocations: 1.309 MB / 0.5067 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.5171, allocations: 0.8687 MB / 0.5075 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000471/0.5175, allocations: 236.1 kB / 0.5077 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.5177, allocations: 51.42 kB / 0.5078 GB, free: 12.61 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.5177, allocations: 0 / 0.5078 GB, free: 12.61 MB / 446.1 MB Notification: Performance of Templates: time 0.04698/0.5647, allocations: 36.18 MB / 0.5431 GB, free: 8.348 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches