Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001198/0.001198, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2591, allocations: 50.54 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03021/0.2894, allocations: 26.66 MB / 436.6 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02572/0.3151, allocations: 24.9 MB / 461.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004204/0.3156, allocations: 11.94 kB / 461.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008734/0.3165, allocations: 290.3 kB / 461.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009146/0.3175, allocations: 365.9 kB / 462.2 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01299/0.3305, allocations: 4.016 MB / 466.2 MB, free: 9.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001566/0.3321, allocations: 0.9503 MB / 467.1 MB, free: 8.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002808/0.3324, allocations: 113 kB / 467.2 MB, free: 8.098 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008578/0.3332, allocations: 394.6 kB / 467.6 MB, free: 7.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005345/0.3338, allocations: 302.8 kB / 467.9 MB, free: 7.414 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.457e-05/0.3339, allocations: 36 kB / 468 MB, free: 7.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02027/0.3542, allocations: 10.43 MB / 478.4 MB, free: 12.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.3544, allocations: 103.7 kB / 478.5 MB, free: 12.83 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004011/0.3548, allocations: 227.1 kB / 478.7 MB, free: 12.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03287/0.3877, allocations: 11.49 MB / 490.2 MB, free: 1.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3878, allocations: 0 / 490.2 MB, free: 1.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3878, allocations: 0 / 490.2 MB, free: 1.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.3878, allocations: 0 / 490.2 MB, free: 1.102 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.006501/0.3943, allocations: 1.15 MB / 491.3 MB, free: 15.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3944, allocations: 8.031 kB / 491.4 MB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006603/0.3951, allocations: 67.59 kB / 491.4 MB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006034/0.3957, allocations: 318.3 kB / 491.7 MB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.3957, allocations: 32.66 kB / 491.8 MB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-05/0.3958, allocations: 35.94 kB / 491.8 MB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009517/0.3968, allocations: 459.7 kB / 492.2 MB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.3968, allocations: 4 kB / 492.2 MB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/0.3969, allocations: 20 kB / 492.3 MB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.3969, allocations: 8 kB / 492.3 MB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000744/0.3976, allocations: 382.3 kB / 492.6 MB, free: 14.52 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.003412/0.401, allocations: 2.945 MB / 495.6 MB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006862/0.4017, allocations: 286.8 kB / 495.9 MB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.402, allocations: 132.8 kB / 496 MB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00237/0.4043, allocations: 2.478 MB / 498.5 MB, free: 7.938 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.4044, allocations: 38.56 kB / 498.5 MB, free: 7.891 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.374e-06/0.4044, allocations: 0 / 498.5 MB, free: 7.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005339/0.4097, allocations: 1.29 MB / 499.8 MB, free: 6.523 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.4098, allocations: 55.41 kB / 499.9 MB, free: 6.457 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.4101, allocations: 266.4 kB / 0.4884 GB, free: 6.188 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.4102, allocations: 37.7 kB / 0.4884 GB, free: 6.145 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.4103, allocations: 188 kB / 0.4886 GB, free: 5.957 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.705e-05/0.4104, allocations: 122.3 kB / 0.4887 GB, free: 5.836 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.4105, allocations: 82.12 kB / 0.4888 GB, free: 5.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.4107, allocations: 338.8 kB / 0.4891 GB, free: 5.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.4109, allocations: 116.8 kB / 0.4892 GB, free: 5.297 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.4112, allocations: 226.1 kB / 0.4895 GB, free: 5.027 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005202/0.4117, allocations: 373.5 kB / 0.4898 GB, free: 4.613 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4117, allocations: 0 / 0.4898 GB, free: 4.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008653/0.4126, allocations: 470.5 kB / 0.4903 GB, free: 4.141 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.4126, allocations: 4 kB / 0.4903 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.4127, allocations: 4 kB / 0.4903 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004708/0.4174, allocations: 241.8 kB / 0.4905 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.4178, allocations: 79.91 kB / 0.4906 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.4194, allocations: 1.954 MB / 0.4925 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.4197, allocations: 12 kB / 0.4925 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/0.4197, allocations: 20 kB / 0.4925 GB, free: 1.66 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.0002315/0.42, allocations: 165.9 kB / 0.4927 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.4201, allocations: 35.64 kB / 0.4927 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.4212, allocations: 0.6814 MB / 0.4934 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.4212, allocations: 7.984 kB / 0.4934 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.4212, allocations: 0 / 0.4934 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008596/0.4221, allocations: 0.8594 MB / 0.4942 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.4236, allocations: 1.191 MB / 0.4954 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.4236, allocations: 0 / 0.4954 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.4239, allocations: 71.89 kB / 0.4955 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/0.4254, allocations: 172.5 kB / 0.4956 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.4255, allocations: 11.94 kB / 0.4956 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003963/0.4259, allocations: 0.5758 MB / 0.4962 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.4259, allocations: 7.922 kB / 0.4962 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.427, allocations: 0.7304 MB / 0.4969 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.4271, allocations: 112.6 kB / 0.497 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.59e-05/0.4272, allocations: 8 kB / 0.497 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.4274, allocations: 8 kB / 0.497 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.4274, allocations: 27.84 kB / 0.4971 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.4274, allocations: 15.98 kB / 0.4971 GB, free: 12.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000228/0.4277, allocations: 222 kB / 0.4973 GB, free: 12.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4277, allocations: 0 / 0.4973 GB, free: 12.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004978/0.4327, allocations: 0.7418 MB / 0.498 GB, free: 11.79 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.02458/0.4573, allocations: 6.401 MB / 0.5043 GB, free: 5.371 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.4583, allocations: 477.4 kB / 0.5047 GB, free: 4.895 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4584, allocations: 0.875 kB / 0.5047 GB, free: 4.895 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004085/0.4588, allocations: 220 kB / 0.5049 GB, free: 4.676 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.4599, allocations: 200.1 kB / 0.5051 GB, free: 4.484 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.4615, allocations: 0.9251 MB / 0.506 GB, free: 3.527 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.462, allocations: 0.809 MB / 0.5068 GB, free: 2.688 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.4621, allocations: 47.36 kB / 0.5069 GB, free: 2.645 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4621, allocations: 0 / 0.5069 GB, free: 2.645 MB / 430.1 MB Notification: Performance of Templates: time 0.03673/0.4988, allocations: 29.34 MB / 0.5355 GB, free: 5.277 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches