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.001132/0.001131, allocations: 105.4 kB / 17.72 MB, free: 5.344 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.001026/0.001026, allocations: 184.1 kB / 18.66 MB, free: 4.414 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.405/1.405, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001179/0.001179, allocations: 51.94 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08393/0.08512, allocations: 46.62 MB / 375.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2104/0.2955, allocations: 37.66 MB / 412.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.032/0.3276, allocations: 30.6 MB / 443.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006891/0.3283, allocations: 8 kB / 443.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.3295, allocations: 405.7 kB / 443.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.3307, allocations: 0.5166 MB / 444.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01436/0.345, allocations: 5.135 MB / 449.5 MB, free: 5.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001668/0.3467, allocations: 1.352 MB / 450.8 MB, free: 3.801 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002814/0.347, allocations: 174.5 kB / 451 MB, free: 3.625 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007046/0.3477, allocations: 0.5333 MB / 451.5 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005008/0.3483, allocations: 442.3 kB / 452 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.612e-05/0.3483, allocations: 59.88 kB / 452 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02731/0.3757, allocations: 12.79 MB / 464.8 MB, free: 5.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003542/0.3761, allocations: 151.5 kB / 465 MB, free: 5.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005832/0.3766, allocations: 318.8 kB / 465.3 MB, free: 5.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04575/0.4224, allocations: 14.93 MB / 480.2 MB, free: 6.371 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4225, allocations: 0 / 480.2 MB, free: 6.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4225, allocations: 0 / 480.2 MB, free: 6.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.4225, allocations: 0 / 480.2 MB, free: 6.371 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.00831/0.4308, allocations: 1.479 MB / 481.7 MB, free: 4.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.4309, allocations: 15.89 kB / 481.7 MB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007787/0.4316, allocations: 91.62 kB / 481.8 MB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006298/0.4323, allocations: 394 kB / 482.2 MB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.4323, allocations: 37 kB / 482.2 MB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.022e-05/0.4324, allocations: 48 kB / 482.2 MB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.4336, allocations: 0.6205 MB / 482.9 MB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.4337, allocations: 7.953 kB / 482.9 MB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.78e-05/0.4337, allocations: 20 kB / 482.9 MB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.4337, allocations: 12 kB / 482.9 MB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.4348, allocations: 0.5268 MB / 483.4 MB, free: 2.988 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.003755/0.4386, allocations: 3.812 MB / 487.2 MB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009166/0.4395, allocations: 411.7 kB / 487.6 MB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.4398, allocations: 225.1 kB / 487.9 MB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002947/0.4428, allocations: 3.447 MB / 491.3 MB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.4428, allocations: 42.92 kB / 491.4 MB, free: 10.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 2.365e-06/0.4428, allocations: 4 kB / 491.4 MB, free: 10.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009294/0.4521, allocations: 2.033 MB / 493.4 MB, free: 7.926 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.4522, allocations: 63.84 kB / 493.5 MB, free: 7.852 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.4526, allocations: 312.4 kB / 493.8 MB, free: 7.535 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.4526, allocations: 33.7 kB / 493.8 MB, free: 7.496 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.4528, allocations: 237.2 kB / 494 MB, free: 7.262 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.4529, allocations: 198.2 kB / 494.2 MB, free: 7.066 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.4531, allocations: 118.3 kB / 494.3 MB, free: 6.941 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4533, allocations: 350.8 kB / 494.7 MB, free: 6.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.4536, allocations: 178.1 kB / 494.9 MB, free: 6.418 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004266/0.454, allocations: 332 kB / 495.2 MB, free: 6.035 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007997/0.4548, allocations: 0.5513 MB / 495.7 MB, free: 5.426 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4548, allocations: 0 / 495.7 MB, free: 5.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001307/0.4561, allocations: 0.6776 MB / 496.4 MB, free: 4.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.4562, allocations: 8 kB / 496.4 MB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.4562, allocations: 7.938 kB / 496.4 MB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009095/0.4653, allocations: 446.5 kB / 496.9 MB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006218/0.466, allocations: 143.8 kB / 497 MB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.4681, allocations: 3.085 MB / 0.4884 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/0.4685, allocations: 15.94 kB / 0.4884 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.907e-05/0.4686, allocations: 32 kB / 0.4884 GB, free: 0.7812 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.0002875/0.4689, allocations: 187.1 kB / 0.4886 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.469, allocations: 43.72 kB / 0.4886 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.4706, allocations: 1.055 MB / 0.4897 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.4706, allocations: 12 kB / 0.4897 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.4706, allocations: 0 / 0.4897 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001169/0.4718, allocations: 1.096 MB / 0.4907 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.4741, allocations: 1.729 MB / 0.4924 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.4741, allocations: 0 / 0.4924 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003886/0.4745, allocations: 95.89 kB / 0.4925 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002859/0.4774, allocations: 364.9 kB / 0.4929 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.094e-05/0.4774, allocations: 12 kB / 0.4929 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007125/0.4782, allocations: 1.148 MB / 0.494 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.4782, allocations: 3.984 kB / 0.494 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.4797, allocations: 1.129 MB / 0.4951 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.4799, allocations: 132.8 kB / 0.4952 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.194e-05/0.48, allocations: 12 kB / 0.4952 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.4802, allocations: 14.12 kB / 0.4953 GB, free: 9.508 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.4803, allocations: 36.52 kB / 0.4953 GB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/0.4804, allocations: 19.98 kB / 0.4953 GB, free: 9.453 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002584/0.4806, allocations: 251 kB / 0.4956 GB, free: 9.207 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4806, allocations: 0 / 0.4956 GB, free: 9.207 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005081/0.4857, allocations: 0.974 MB / 0.4965 GB, free: 8.23 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.02996/0.5157, allocations: 7.891 MB / 0.5042 GB, free: 320 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.5175, allocations: 0.7123 MB / 0.5049 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.5175, allocations: 0 / 0.5049 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006779/0.5182, allocations: 371.5 kB / 0.5053 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.5197, allocations: 269 kB / 0.5055 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.5219, allocations: 1.327 MB / 0.5068 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.5223, allocations: 0.8609 MB / 0.5077 GB, free: 12.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005201/0.5229, allocations: 236.1 kB / 0.5079 GB, free: 12.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.523, allocations: 55.42 kB / 0.5079 GB, free: 12.44 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.523, allocations: 0 / 0.5079 GB, free: 12.44 MB / 446.1 MB Notification: Performance of Templates: time 0.04786/0.5709, allocations: 36.18 MB / 0.5433 GB, free: 8.18 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