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.0008746/0.0008747, allocations: 99.98 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009334/0.0009335, allocations: 197.7 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.266/1.266, allocations: 227.2 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001961/0.0001961, allocations: 4 kB / 306.6 MB, free: 1.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08673/0.08694, allocations: 51.5 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1809/0.2679, allocations: 22.56 MB / 380.6 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02108/0.289, allocations: 20.79 MB / 401.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006969/0.2898, allocations: 3.156 kB / 401.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.2908, allocations: 249.5 kB / 401.7 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009107/0.2917, allocations: 256.2 kB / 401.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01206/0.3038, allocations: 3.105 MB / 405 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001224/0.305, allocations: 0.5355 MB / 405.5 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.3052, allocations: 81.27 kB / 405.6 MB, free: 7.801 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005941/0.3058, allocations: 284.8 kB / 405.9 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.3062, allocations: 196.4 kB / 406.1 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.295e-05/0.3062, allocations: 16 kB / 406.1 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05925/0.3655, allocations: 53.57 MB / 459.7 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.3657, allocations: 79.72 kB / 459.8 MB, free: 4.805 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003001/0.366, allocations: 109.5 kB / 459.9 MB, free: 4.691 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0277/0.3938, allocations: 10.65 MB / 470.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3938, allocations: 0 / 470.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.3938, allocations: 0 / 470.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.3938, allocations: 0 / 470.5 MB, free: 10.04 MB / 382.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.005972/0.3998, allocations: 1.064 MB / 471.6 MB, free: 8.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.3999, allocations: 12.03 kB / 471.6 MB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000531/0.4004, allocations: 71.52 kB / 471.7 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.4009, allocations: 311 kB / 472 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.4009, allocations: 24.66 kB / 472 MB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.4009, allocations: 35.95 kB / 472 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008558/0.4018, allocations: 455.8 kB / 472.5 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.4018, allocations: 7.922 kB / 472.5 MB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.4019, allocations: 12 kB / 472.5 MB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.4019, allocations: 8 kB / 472.5 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006932/0.4026, allocations: 394.2 kB / 472.9 MB, free: 7.543 MB / 382.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.003696/0.4063, allocations: 2.945 MB / 475.8 MB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000596/0.4069, allocations: 286.8 kB / 476.1 MB, free: 4.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002242/0.4092, allocations: 2.548 MB / 478.7 MB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.4092, allocations: 34.56 kB / 478.7 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.024e-06/0.4092, allocations: 0 / 478.7 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005174/0.4144, allocations: 1.301 MB / 480 MB, free: 15.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.4145, allocations: 55.41 kB / 480 MB, free: 15.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.4148, allocations: 258.5 kB / 480.3 MB, free: 15.28 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.4148, allocations: 29.7 kB / 480.3 MB, free: 15.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.415, allocations: 192.1 kB / 480.5 MB, free: 15.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.937e-05/0.4151, allocations: 118.3 kB / 480.6 MB, free: 14.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.819e-05/0.4151, allocations: 8 kB / 480.6 MB, free: 14.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4153, allocations: 338.8 kB / 481 MB, free: 14.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.4155, allocations: 112.8 kB / 481.1 MB, free: 14.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.4157, allocations: 226 kB / 481.3 MB, free: 14.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.416, allocations: 156.4 kB / 481.5 MB, free: 14.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.416, allocations: 0 / 481.5 MB, free: 14.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000808/0.4168, allocations: 455.8 kB / 481.9 MB, free: 13.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.4168, allocations: 12.02 kB / 481.9 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.4168, allocations: 4 kB / 481.9 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004408/0.4213, allocations: 241.4 kB / 482.1 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.4216, allocations: 87.84 kB / 482.2 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.423, allocations: 1.857 MB / 484.1 MB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.4233, allocations: 31.98 kB / 484.1 MB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/0.4233, allocations: 20 kB / 484.1 MB, free: 11.19 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002274/0.4236, allocations: 161.7 kB / 484.3 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/0.4236, allocations: 35.62 kB / 484.3 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009684/0.4246, allocations: 0.6957 MB / 485 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.4246, allocations: 7.984 kB / 485 MB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.4246, allocations: 4 kB / 485 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007611/0.4254, allocations: 0.8596 MB / 485.9 MB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.4268, allocations: 1.194 MB / 487.1 MB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.4268, allocations: 0 / 487.1 MB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.4271, allocations: 63.91 kB / 487.2 MB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00156/0.4287, allocations: 180.6 kB / 487.3 MB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.4287, allocations: 8 kB / 487.3 MB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003338/0.429, allocations: 0.5834 MB / 487.9 MB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.429, allocations: 0 / 487.9 MB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008978/0.4299, allocations: 0.7288 MB / 488.7 MB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.4301, allocations: 128.6 kB / 488.8 MB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.841e-05/0.4301, allocations: 8 kB / 488.8 MB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.4303, allocations: 24.09 kB / 488.8 MB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.4304, allocations: 23.97 kB / 488.8 MB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.4304, allocations: 8 kB / 488.8 MB, free: 6.254 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002186/0.4306, allocations: 221.9 kB / 489.1 MB, free: 6.035 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4307, allocations: 0 / 489.1 MB, free: 6.035 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004473/0.4351, allocations: 0.7496 MB / 489.8 MB, free: 5.285 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.03449/0.4696, allocations: 6.395 MB / 496.2 MB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009324/0.4706, allocations: 485.2 kB / 496.7 MB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4706, allocations: 0 / 496.7 MB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003596/0.471, allocations: 220.9 kB / 496.9 MB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.472, allocations: 181 kB / 497.1 MB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.4735, allocations: 1.09 MB / 498.2 MB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.4738, allocations: 0.809 MB / 499 MB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003844/0.4742, allocations: 203.4 kB / 499.2 MB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.373e-05/0.4743, allocations: 39.44 kB / 499.2 MB, free: 11.81 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4743, allocations: 4 kB / 499.2 MB, free: 11.81 MB / 414.1 MB Notification: Performance of Templates: time 0.03851/0.5128, allocations: 28.25 MB / 0.5151 GB, free: 15.56 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches