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.001099/0.001099, allocations: 114.5 kB / 18.41 MB, free: 4.691 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.001122/0.001122, allocations: 190.1 kB / 19.35 MB, free: 3.762 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.271/1.271, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001194/0.001194, allocations: 55.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07133/0.07254, allocations: 46.62 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1782/0.2508, allocations: 37.66 MB / 413.5 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03198/0.2828, allocations: 30.59 MB / 444.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005264/0.2834, allocations: 8 kB / 444.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.2846, allocations: 437.6 kB / 444.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.2858, allocations: 0.5283 MB / 445.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01313/0.299, allocations: 5.239 MB / 450.3 MB, free: 5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001646/0.3006, allocations: 1.348 MB / 451.6 MB, free: 3.648 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002921/0.3009, allocations: 174.5 kB / 451.8 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009177/0.3019, allocations: 0.541 MB / 452.4 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006593/0.3025, allocations: 438.3 kB / 452.8 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.3027, allocations: 55.94 kB / 452.8 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02565/0.3283, allocations: 12.8 MB / 465.6 MB, free: 5.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002779/0.3286, allocations: 151.5 kB / 465.8 MB, free: 5.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005294/0.3292, allocations: 322.8 kB / 466.1 MB, free: 5.156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04133/0.3705, allocations: 14.93 MB / 481 MB, free: 6.211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3705, allocations: 4 kB / 481 MB, free: 6.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3705, allocations: 0 / 481 MB, free: 6.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.3706, allocations: 0 / 481 MB, free: 6.207 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.006038/0.3766, allocations: 1.471 MB / 482.5 MB, free: 4.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3767, allocations: 15.89 kB / 482.5 MB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006801/0.3773, allocations: 99.62 kB / 482.6 MB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.3779, allocations: 394 kB / 483 MB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.3779, allocations: 33 kB / 483 MB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-05/0.378, allocations: 48 kB / 483.1 MB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.3791, allocations: 0.6205 MB / 483.7 MB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.3791, allocations: 3.953 kB / 483.7 MB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.872e-05/0.3792, allocations: 24 kB / 483.7 MB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.3792, allocations: 16 kB / 483.7 MB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009822/0.3802, allocations: 0.5229 MB / 484.3 MB, free: 2.828 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.003766/0.384, allocations: 3.813 MB / 488.1 MB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008836/0.3849, allocations: 411.8 kB / 488.5 MB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.3852, allocations: 217.2 kB / 488.7 MB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002893/0.3881, allocations: 3.455 MB / 492.1 MB, free: 9.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.3881, allocations: 42.88 kB / 492.2 MB, free: 9.879 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 1.793e-06/0.3881, allocations: 0 / 492.2 MB, free: 9.879 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009195/0.3973, allocations: 2.034 MB / 494.2 MB, free: 7.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.3974, allocations: 55.84 kB / 494.3 MB, free: 7.703 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.3977, allocations: 316.4 kB / 494.6 MB, free: 7.383 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.3977, allocations: 37.7 kB / 494.6 MB, free: 7.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.3979, allocations: 237.2 kB / 494.9 MB, free: 7.105 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.398, allocations: 198.3 kB / 495 MB, free: 6.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.3982, allocations: 118.3 kB / 495.2 MB, free: 6.785 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3983, allocations: 346.8 kB / 495.5 MB, free: 6.438 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.3987, allocations: 181.2 kB / 495.7 MB, free: 6.262 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003987/0.3991, allocations: 332.1 kB / 496 MB, free: 5.879 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007695/0.3998, allocations: 0.5551 MB / 496.6 MB, free: 5.266 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3998, allocations: 0 / 496.6 MB, free: 5.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001253/0.4011, allocations: 0.6739 MB / 497.2 MB, free: 4.574 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4011, allocations: 4 kB / 497.2 MB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.4011, allocations: 8 kB / 497.2 MB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009538/0.4107, allocations: 450.3 kB / 497.7 MB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005619/0.4113, allocations: 143.8 kB / 497.8 MB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/0.4133, allocations: 3.085 MB / 0.4892 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.4136, allocations: 16 kB / 0.4892 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.459e-05/0.4136, allocations: 31.92 kB / 0.4892 GB, free: 0.625 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.0002219/0.4139, allocations: 184.5 kB / 0.4894 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.414, allocations: 47.72 kB / 0.4894 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.4155, allocations: 1.062 MB / 0.4905 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00115/0.4167, allocations: 1.087 MB / 0.4915 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.4167, allocations: 0 / 0.4915 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.4168, allocations: 128.7 kB / 0.4917 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.725e-05/0.4169, allocations: 15.94 kB / 0.4917 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.4171, allocations: 12 kB / 0.4917 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.4172, allocations: 32.52 kB / 0.4917 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001469/0.4187, allocations: 0.8014 MB / 0.4925 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001354/0.42, allocations: 1.134 MB / 0.4936 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000369/0.4204, allocations: 304.8 kB / 0.4939 GB, free: 11.69 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002437/0.4207, allocations: 251 kB / 0.4941 GB, free: 11.44 MB / 430.1 MB Notification: Performance of Backend: time 5.11e-07/0.4207, allocations: 0 / 0.4941 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.04699/0.4677, allocations: 12.67 MB / 0.5065 GB, free: 14.73 MB / 446.1 MB Notification: Performance of SimCode: time 0.002064/0.4698, allocations: 1.634 MB / 0.5081 GB, free: 13.05 MB / 446.1 MB Notification: Performance of Templates: time 0.05349/0.5233, allocations: 41.51 MB / 0.5486 GB, free: 3.453 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