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.00138/0.00138, allocations: 101.5 kB / 18.4 MB, free: 4.66 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.001544/0.001544, allocations: 187 kB / 19.33 MB, free: 3.738 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.688/1.688, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.00135/0.00135, allocations: 51.94 kB / 329.2 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08244/0.0838, allocations: 46.62 MB / 375.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2185/0.3023, allocations: 37.66 MB / 413.5 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0354/0.3378, allocations: 30.6 MB / 444.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007135/0.3385, allocations: 8 kB / 444.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.34, allocations: 417.6 kB / 444.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001493/0.3416, allocations: 0.5088 MB / 445 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01804/0.3596, allocations: 5.137 MB / 450.2 MB, free: 5.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002212/0.3618, allocations: 1.348 MB / 451.5 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004308/0.3623, allocations: 174.5 kB / 451.7 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.3636, allocations: 0.5372 MB / 452.2 MB, free: 3.203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009677/0.3646, allocations: 442.2 kB / 452.6 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.3648, allocations: 52 kB / 452.7 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03016/0.395, allocations: 12.8 MB / 465.5 MB, free: 5.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003373/0.3954, allocations: 147.5 kB / 465.6 MB, free: 5.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007004/0.3961, allocations: 318.8 kB / 465.9 MB, free: 5.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05289/0.449, allocations: 14.92 MB / 480.9 MB, free: 6.504 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.4491, allocations: 0 / 480.9 MB, free: 6.504 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.4491, allocations: 4 kB / 480.9 MB, free: 6.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.963e-05/0.4491, allocations: 0 / 480.9 MB, free: 6.5 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.009387/0.4585, allocations: 1.42 MB / 482.3 MB, free: 5.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.4586, allocations: 15.89 kB / 482.3 MB, free: 5.016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008061/0.4594, allocations: 87.39 kB / 482.4 MB, free: 4.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006865/0.4601, allocations: 401.8 kB / 482.8 MB, free: 4.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.4601, allocations: 37 kB / 482.8 MB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-05/0.4602, allocations: 44 kB / 482.9 MB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.4616, allocations: 0.6205 MB / 483.5 MB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.4616, allocations: 3.906 kB / 483.5 MB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-05/0.4617, allocations: 24 kB / 483.5 MB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.4617, allocations: 12 kB / 483.5 MB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.4629, allocations: 0.5307 MB / 484 MB, free: 3.18 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.004468/0.4674, allocations: 3.799 MB / 487.8 MB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009711/0.4683, allocations: 407.8 kB / 488.2 MB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.4687, allocations: 217.1 kB / 488.5 MB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003542/0.4722, allocations: 3.466 MB / 491.9 MB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.4723, allocations: 38.94 kB / 492 MB, free: 10.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 4.348e-06/0.4723, allocations: 0 / 492 MB, free: 10.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009899/0.4822, allocations: 2.025 MB / 494 MB, free: 8.137 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.4823, allocations: 59.84 kB / 494 MB, free: 8.066 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004084/0.4827, allocations: 304.4 kB / 494.3 MB, free: 7.758 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.396e-05/0.4828, allocations: 41.69 kB / 494.4 MB, free: 7.711 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.483, allocations: 232.6 kB / 494.6 MB, free: 7.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.4832, allocations: 185.3 kB / 494.8 MB, free: 7.297 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.4834, allocations: 122.2 kB / 494.9 MB, free: 7.168 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.4836, allocations: 350.8 kB / 495.3 MB, free: 6.816 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.4839, allocations: 177.2 kB / 495.4 MB, free: 6.645 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/0.4843, allocations: 336 kB / 495.8 MB, free: 6.258 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008073/0.4852, allocations: 0.5454 MB / 496.3 MB, free: 5.652 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4852, allocations: 0 / 496.3 MB, free: 5.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001374/0.4866, allocations: 0.6729 MB / 497 MB, free: 4.965 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.4866, allocations: 8 kB / 497 MB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.4866, allocations: 7.938 kB / 497 MB, free: 4.949 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009289/0.4959, allocations: 446 kB / 497.4 MB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006798/0.4966, allocations: 143.8 kB / 497.6 MB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.4991, allocations: 3.085 MB / 0.4889 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/0.4995, allocations: 24.22 kB / 0.4889 GB, free: 1.039 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.073e-05/0.4996, allocations: 31.98 kB / 0.489 GB, free: 1.008 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.0003294/0.4999, allocations: 186.4 kB / 0.4891 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.5001, allocations: 39.53 kB / 0.4892 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.5018, allocations: 1.054 MB / 0.4902 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.5018, allocations: 15.98 kB / 0.4902 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5018, allocations: 0 / 0.4902 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001238/0.503, allocations: 1.099 MB / 0.4913 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.5054, allocations: 1.725 MB / 0.493 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.5054, allocations: 1.25 kB / 0.493 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/0.5058, allocations: 95.89 kB / 0.4931 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00307/0.5089, allocations: 353 kB / 0.4934 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.549e-05/0.509, allocations: 19.98 kB / 0.4934 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007157/0.5097, allocations: 1.14 MB / 0.4945 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.5097, allocations: 12.11 kB / 0.4946 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.5113, allocations: 1.128 MB / 0.4957 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.5114, allocations: 124.5 kB / 0.4958 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.166e-05/0.5115, allocations: 12 kB / 0.4958 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.5118, allocations: 14.5 kB / 0.4958 GB, free: 9.746 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.5119, allocations: 40.55 kB / 0.4958 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/0.5119, allocations: 19.98 kB / 0.4959 GB, free: 9.688 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002885/0.5122, allocations: 251 kB / 0.4961 GB, free: 9.441 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5122, allocations: 0 / 0.4961 GB, free: 9.441 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006845/0.5191, allocations: 0.9644 MB / 0.497 GB, free: 8.477 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.03331/0.5524, allocations: 7.863 MB / 0.5047 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002143/0.5546, allocations: 0.7235 MB / 0.5054 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/0.5547, allocations: 1.125 kB / 0.5054 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007623/0.5554, allocations: 367.4 kB / 0.5058 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.5571, allocations: 269.6 kB / 0.506 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.5597, allocations: 1.339 MB / 0.5073 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005167/0.5602, allocations: 0.8648 MB / 0.5082 GB, free: 12.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.5604, allocations: 55.42 kB / 0.5082 GB, free: 12.92 MB / 446.1 MB Notification: Performance of SimCode: time 6.62e-07/0.5604, allocations: 0 / 0.5082 GB, free: 12.92 MB / 446.1 MB Notification: Performance of Templates: time 0.05323/0.6136, allocations: 38.68 MB / 0.546 GB, free: 6.16 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/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