Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001285, allocations: 120.4 kB / 18.45 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 207.8 kB / 19.41 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.422/1.422, allocations: 227.7 MB / 247.9 MB, free: 10.23 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 75.88 kB / 359.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2429, allocations: 50.54 MB / 410.2 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03048/0.2734, allocations: 26.73 MB / 437 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02942/0.3028, allocations: 24.93 MB / 461.9 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003644/0.3032, allocations: 11.94 kB / 461.9 MB, free: 13.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009023/0.3041, allocations: 302.3 kB / 462.2 MB, free: 13.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008355/0.3049, allocations: 381.9 kB / 462.6 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0121/0.317, allocations: 4.09 MB / 466.7 MB, free: 8.941 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001656/0.3187, allocations: 0.9464 MB / 467.6 MB, free: 7.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.3189, allocations: 81.05 kB / 467.7 MB, free: 7.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006307/0.3195, allocations: 398.6 kB / 468.1 MB, free: 7.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003733/0.3199, allocations: 302.8 kB / 468.4 MB, free: 7.223 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.789e-05/0.3199, allocations: 40 kB / 468.4 MB, free: 7.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01866/0.3386, allocations: 10.42 MB / 478.8 MB, free: 12.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002215/0.3388, allocations: 107.6 kB / 478.9 MB, free: 12.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003784/0.3392, allocations: 223.2 kB / 479.2 MB, free: 12.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02644/0.3656, allocations: 11.51 MB / 490.7 MB, free: 0.8945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3656, allocations: 0 / 490.7 MB, free: 0.8945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3656, allocations: 0 / 490.7 MB, free: 0.8945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.3656, allocations: 0 / 490.7 MB, free: 0.8945 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.006471/0.3721, allocations: 1.188 MB / 491.8 MB, free: 15.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3721, allocations: 8.031 kB / 491.9 MB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005661/0.3727, allocations: 75.73 kB / 491.9 MB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005425/0.3733, allocations: 326.4 kB / 492.2 MB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.3733, allocations: 24.66 kB / 492.3 MB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.3733, allocations: 32 kB / 492.3 MB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009188/0.3743, allocations: 471.7 kB / 492.8 MB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.3743, allocations: 7.953 kB / 492.8 MB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/0.3743, allocations: 12 kB / 492.8 MB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.3743, allocations: 8 kB / 492.8 MB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007744/0.3751, allocations: 386.3 kB / 493.2 MB, free: 14.25 MB / 414.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.003658/0.3788, allocations: 2.941 MB / 496.1 MB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006597/0.3794, allocations: 282.8 kB / 496.4 MB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.3796, allocations: 132.7 kB / 496.5 MB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00266/0.3823, allocations: 2.474 MB / 499 MB, free: 7.684 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.3823, allocations: 38.56 kB / 499 MB, free: 7.637 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.3823, allocations: 0 / 499 MB, free: 7.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005399/0.3877, allocations: 1.286 MB / 0.4886 GB, free: 6.273 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.3878, allocations: 55.41 kB / 0.4886 GB, free: 6.207 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.3881, allocations: 266.5 kB / 0.4889 GB, free: 5.938 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.3881, allocations: 33.7 kB / 0.4889 GB, free: 5.898 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.3883, allocations: 192.4 kB / 0.4891 GB, free: 5.707 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.3884, allocations: 126.9 kB / 0.4892 GB, free: 5.582 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.3885, allocations: 86.08 kB / 0.4893 GB, free: 5.492 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3886, allocations: 338.8 kB / 0.4896 GB, free: 5.152 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.3888, allocations: 112.8 kB / 0.4897 GB, free: 5.043 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.3892, allocations: 230 kB / 0.49 GB, free: 4.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005785/0.3897, allocations: 373.5 kB / 0.4903 GB, free: 4.355 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3897, allocations: 0 / 0.4903 GB, free: 4.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008991/0.3906, allocations: 462.7 kB / 0.4908 GB, free: 3.891 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.3907, allocations: 8 kB / 0.4908 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.3907, allocations: 4 kB / 0.4908 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004948/0.3956, allocations: 233.9 kB / 0.491 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.396, allocations: 91.78 kB / 0.4911 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/0.3977, allocations: 1.948 MB / 0.493 GB, free: 1.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.3979, allocations: 15.94 kB / 0.493 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.398, allocations: 20 kB / 0.493 GB, free: 1.406 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0002187/0.3982, allocations: 165.9 kB / 0.4932 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.073e-05/0.3983, allocations: 35.75 kB / 0.4932 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.3994, allocations: 0.6854 MB / 0.4939 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.3994, allocations: 7.984 kB / 0.4939 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.3994, allocations: 0 / 0.4939 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009406/0.4003, allocations: 0.8632 MB / 0.4947 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.4019, allocations: 1.199 MB / 0.4959 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.4019, allocations: 0 / 0.4959 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.4022, allocations: 67.89 kB / 0.496 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001592/0.4038, allocations: 172.6 kB / 0.4961 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.4038, allocations: 8 kB / 0.4961 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003959/0.4042, allocations: 0.568 MB / 0.4967 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4042, allocations: 7.875 kB / 0.4967 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.4052, allocations: 0.7384 MB / 0.4974 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.4053, allocations: 116.8 kB / 0.4975 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.4054, allocations: 4 kB / 0.4975 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.4055, allocations: 15.94 kB / 0.4976 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.4056, allocations: 23.91 kB / 0.4976 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.4056, allocations: 15.98 kB / 0.4976 GB, free: 12.49 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002374/0.4059, allocations: 218 kB / 0.4978 GB, free: 12.28 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4059, allocations: 0 / 0.4978 GB, free: 12.28 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004212/0.4101, allocations: 0.7597 MB / 0.4985 GB, free: 11.52 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02365/0.4337, allocations: 6.408 MB / 0.5048 GB, free: 5.086 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.4348, allocations: 457.4 kB / 0.5052 GB, free: 4.625 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4348, allocations: 0.875 kB / 0.5052 GB, free: 4.625 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004142/0.4352, allocations: 219.9 kB / 0.5054 GB, free: 4.406 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.4363, allocations: 192.6 kB / 0.5056 GB, free: 4.219 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.4379, allocations: 0.9039 MB / 0.5065 GB, free: 3.285 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.4384, allocations: 0.809 MB / 0.5073 GB, free: 2.445 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003984/0.4388, allocations: 195.5 kB / 0.5075 GB, free: 2.254 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.642e-05/0.4389, allocations: 35.42 kB / 0.5075 GB, free: 2.223 MB / 430.1 MB Notification: Performance of SimCode: time 4.8e-07/0.4389, allocations: 0 / 0.5075 GB, free: 2.223 MB / 430.1 MB Notification: Performance of Templates: time 0.04407/0.483, allocations: 29.16 MB / 0.536 GB, free: 5.09 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches