Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00113/0.001137, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 67.88 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2363, allocations: 50.53 MB / 409.2 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.0341/0.2704, allocations: 37.74 MB / 447 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02887/0.2993, allocations: 30.63 MB / 477.6 MB, free: 12.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004901/0.2998, allocations: 11.94 kB / 477.6 MB, free: 12.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.3009, allocations: 405.7 kB / 478 MB, free: 12.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009716/0.3019, allocations: 0.5204 MB / 478.5 MB, free: 12.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01325/0.3152, allocations: 5.148 MB / 483.7 MB, free: 6.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001497/0.3167, allocations: 1.359 MB / 485.1 MB, free: 5.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002714/0.317, allocations: 166.7 kB / 485.2 MB, free: 5.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006637/0.3177, allocations: 0.5411 MB / 485.8 MB, free: 4.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004655/0.3182, allocations: 438.2 kB / 486.2 MB, free: 4.387 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.548e-05/0.3182, allocations: 52 kB / 486.2 MB, free: 4.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02011/0.3383, allocations: 12.81 MB / 499 MB, free: 7.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002832/0.3387, allocations: 155.5 kB / 499.2 MB, free: 7.348 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006258/0.3393, allocations: 314.8 kB / 499.5 MB, free: 7.039 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03319/0.3725, allocations: 14.92 MB / 0.5024 GB, free: 8.105 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.3726, allocations: 0 / 0.5024 GB, free: 8.105 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.3726, allocations: 0 / 0.5024 GB, free: 8.105 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.3726, allocations: 7.938 kB / 0.5024 GB, free: 8.098 MB / 430.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.007785/0.3804, allocations: 1.419 MB / 0.5038 GB, free: 6.625 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3804, allocations: 8.031 kB / 0.5038 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006748/0.3811, allocations: 99.23 kB / 0.5039 GB, free: 6.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005492/0.3817, allocations: 385.9 kB / 0.5042 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.3817, allocations: 37 kB / 0.5043 GB, free: 6.066 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.741e-05/0.3818, allocations: 51.98 kB / 0.5043 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.3829, allocations: 0.6205 MB / 0.5049 GB, free: 5.348 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.383, allocations: 0 / 0.5049 GB, free: 5.348 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.72e-05/0.383, allocations: 20 kB / 0.5049 GB, free: 5.328 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.383, allocations: 12 kB / 0.505 GB, free: 5.316 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.3841, allocations: 0.5307 MB / 0.5055 GB, free: 4.785 MB / 430.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.004768/0.3889, allocations: 3.803 MB / 0.5092 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008625/0.3898, allocations: 416.6 kB / 0.5096 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.3901, allocations: 209.5 kB / 0.5098 GB, free: 56 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003244/0.3933, allocations: 3.459 MB / 0.5132 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.3934, allocations: 38.94 kB / 0.5132 GB, free: 11.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 1.763e-06/0.3934, allocations: 0 / 0.5132 GB, free: 11.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.008888/0.4023, allocations: 2.029 MB / 0.5152 GB, free: 9.738 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.4023, allocations: 59.78 kB / 0.5152 GB, free: 9.668 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.4026, allocations: 308.5 kB / 0.5155 GB, free: 9.363 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.4027, allocations: 33.7 kB / 0.5156 GB, free: 9.324 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.4028, allocations: 236.6 kB / 0.5158 GB, free: 9.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.403, allocations: 189.2 kB / 0.516 GB, free: 8.902 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.4031, allocations: 118.2 kB / 0.5161 GB, free: 8.781 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.4032, allocations: 354.8 kB / 0.5164 GB, free: 8.426 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.4035, allocations: 181.2 kB / 0.5166 GB, free: 8.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/0.404, allocations: 328 kB / 0.5169 GB, free: 7.867 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007507/0.4048, allocations: 0.5485 MB / 0.5174 GB, free: 7.258 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4048, allocations: 0 / 0.5174 GB, free: 7.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001216/0.406, allocations: 0.6662 MB / 0.5181 GB, free: 6.574 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.406, allocations: 19.98 kB / 0.5181 GB, free: 6.555 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.4061, allocations: 4 kB / 0.5181 GB, free: 6.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008865/0.4149, allocations: 446 kB / 0.5185 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005384/0.4155, allocations: 139.8 kB / 0.5187 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.4175, allocations: 3.089 MB / 0.5217 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.4177, allocations: 19.94 kB / 0.5217 GB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/0.4178, allocations: 32.27 kB / 0.5217 GB, free: 2.613 MB / 446.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.0002275/0.418, allocations: 193.2 kB / 0.5219 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.4181, allocations: 43.53 kB / 0.522 GB, free: 2.375 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.4197, allocations: 1.048 MB / 0.523 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.4197, allocations: 11.98 kB / 0.523 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4197, allocations: 8 kB / 0.523 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001145/0.4209, allocations: 1.091 MB / 0.5241 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/0.423, allocations: 1.729 MB / 0.5258 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.423, allocations: 4 kB / 0.5258 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003888/0.4234, allocations: 99.83 kB / 0.5259 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003039/0.4264, allocations: 361 kB / 0.5262 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.4265, allocations: 16 kB / 0.5262 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006498/0.4271, allocations: 1.144 MB / 0.5273 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4272, allocations: 4.031 kB / 0.5273 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.4286, allocations: 1.128 MB / 0.5284 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-05/0.4287, allocations: 116.5 kB / 0.5286 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.86e-05/0.4288, allocations: 15.91 kB / 0.5286 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.429, allocations: 19.97 kB / 0.5286 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.4291, allocations: 32.52 kB / 0.5286 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.4291, allocations: 23.98 kB / 0.5286 GB, free: 11.28 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002404/0.4294, allocations: 247 kB / 0.5289 GB, free: 11.04 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4294, allocations: 7.938 kB / 0.5289 GB, free: 11.04 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004777/0.4342, allocations: 0.9683 MB / 0.5298 GB, free: 10.07 MB / 462.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.0271/0.4613, allocations: 7.863 MB / 0.5375 GB, free: 2.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001627/0.4629, allocations: 0.719 MB / 0.5382 GB, free: 1.449 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.463, allocations: 0 / 0.5382 GB, free: 1.449 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006298/0.4636, allocations: 372.5 kB / 0.5386 GB, free: 1.082 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.465, allocations: 271.5 kB / 0.5388 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1876/0.6527, allocations: 1.308 MB / 0.5401 GB, free: 120.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.6531, allocations: 0.8698 MB / 0.541 GB, free: 120.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000691/0.6538, allocations: 237.9 kB / 0.5412 GB, free: 120.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.654, allocations: 54.03 kB / 0.5412 GB, free: 120.1 MB / 462.1 MB Notification: Performance of SimCode: time 8.31e-07/0.654, allocations: 0 / 0.5412 GB, free: 120.1 MB / 462.1 MB Notification: Performance of Templates: time 0.03719/0.6912, allocations: 36.36 MB / 0.5767 GB, free: 92.23 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches