Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001356/0.001356, allocations: 110.2 kB / 17.17 MB, free: 6.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.001663/0.001663, allocations: 194.9 kB / 18.08 MB, free: 5.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 42.53 kB / 300.6 MB, free: 6.344 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09378/0.09494, allocations: 49.46 MB / 350.1 MB, free: 4.883 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2099/0.3049, allocations: 37.23 MB / 387.3 MB, free: 5.652 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0335/0.3384, allocations: 31.58 MB / 418.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008964/0.3394, allocations: 9.062 kB / 418.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.341, allocations: 352.3 kB / 419.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.3432, allocations: 0.5011 MB / 419.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02355/0.3667, allocations: 4.155 MB / 423.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004155/0.3709, allocations: 2.046 MB / 425.9 MB, free: 8.121 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006776/0.3716, allocations: 130.7 kB / 426 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.3735, allocations: 466.1 kB / 426.5 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.3749, allocations: 458.2 kB / 426.9 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001977/0.3751, allocations: 32 kB / 427 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09475/0.4699, allocations: 35.3 MB / 462.3 MB, free: 3.594 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004587/0.4704, allocations: 127.5 kB / 462.4 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009227/0.4714, allocations: 290.8 kB / 462.7 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04594/0.5173, allocations: 13.9 MB / 476.6 MB, free: 5.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5174, allocations: 0 / 476.6 MB, free: 5.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.5174, allocations: 0 / 476.6 MB, free: 5.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.274e-05/0.5174, allocations: 4 kB / 476.6 MB, free: 5.27 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.008866/0.5263, allocations: 1.431 MB / 478 MB, free: 3.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.5263, allocations: 8.031 kB / 478 MB, free: 3.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008627/0.5272, allocations: 99.23 kB / 478.1 MB, free: 3.684 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005557/0.5278, allocations: 378 kB / 478.5 MB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.5278, allocations: 33 kB / 478.5 MB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.69e-05/0.5279, allocations: 48 kB / 478.6 MB, free: 3.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.5292, allocations: 0.6244 MB / 479.2 MB, free: 2.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.5293, allocations: 4 kB / 479.2 MB, free: 2.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.784e-05/0.5293, allocations: 20 kB / 479.2 MB, free: 2.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.5294, allocations: 12 kB / 479.2 MB, free: 2.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.5304, allocations: 0.5268 MB / 479.8 MB, free: 1.961 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.004284/0.5347, allocations: 3.807 MB / 483.6 MB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009909/0.5357, allocations: 407.6 kB / 484 MB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.5361, allocations: 213.5 kB / 484.2 MB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003292/0.5394, allocations: 3.455 MB / 487.6 MB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.89e-05/0.5395, allocations: 38.94 kB / 487.7 MB, free: 9.027 MB / 398.1 MB Notification: Performance of pre-optimization done (n=46): time 3.446e-06/0.5395, allocations: 0 / 487.7 MB, free: 9.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=54): time 0.0101/0.5496, allocations: 2.027 MB / 489.7 MB, free: 6.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.5497, allocations: 59.84 kB / 489.7 MB, free: 6.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/0.55, allocations: 312.4 kB / 490.1 MB, free: 6.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.366e-05/0.5501, allocations: 33.7 kB / 490.1 MB, free: 6.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.5503, allocations: 236.6 kB / 490.3 MB, free: 6.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.5504, allocations: 189.2 kB / 490.5 MB, free: 6.074 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.5506, allocations: 118.2 kB / 490.6 MB, free: 5.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.5507, allocations: 354.7 kB / 491 MB, free: 5.598 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/0.5511, allocations: 185.2 kB / 491.1 MB, free: 5.414 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000436/0.5515, allocations: 336 kB / 491.5 MB, free: 5.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008022/0.5523, allocations: 0.5407 MB / 492 MB, free: 4.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5524, allocations: 0 / 492 MB, free: 4.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001356/0.5537, allocations: 0.6701 MB / 492.7 MB, free: 3.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.5538, allocations: 8 kB / 492.7 MB, free: 3.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.5538, allocations: 12.02 kB / 492.7 MB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/0.5638, allocations: 446 kB / 493.1 MB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006629/0.5645, allocations: 135.8 kB / 493.3 MB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/0.5667, allocations: 2.99 MB / 496.3 MB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/0.5673, allocations: 52 kB / 496.3 MB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.231e-05/0.5674, allocations: 28 kB / 496.3 MB, free: 15.87 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.0003018/0.5677, allocations: 197.6 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.5678, allocations: 43.47 kB / 496.6 MB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.5695, allocations: 1.05 MB / 497.6 MB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.5695, allocations: 8.047 kB / 497.6 MB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.5695, allocations: 4 kB / 497.6 MB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001202/0.5707, allocations: 1.095 MB / 498.7 MB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.5731, allocations: 1.734 MB / 0.4887 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.5731, allocations: 4 kB / 0.4887 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.5735, allocations: 95.89 kB / 0.4888 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003374/0.5769, allocations: 349 kB / 0.4892 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-05/0.577, allocations: 20 kB / 0.4892 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007463/0.5777, allocations: 1.136 MB / 0.4903 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.5777, allocations: 11.91 kB / 0.4903 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.5794, allocations: 1.127 MB / 0.4914 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.5796, allocations: 120.5 kB / 0.4915 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.558e-05/0.5797, allocations: 16.19 kB / 0.4915 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.58, allocations: 31.83 kB / 0.4916 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.5801, allocations: 36.52 kB / 0.4916 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.775e-05/0.5802, allocations: 23.98 kB / 0.4916 GB, free: 8.523 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002821/0.5805, allocations: 251 kB / 0.4919 GB, free: 8.277 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5805, allocations: 0 / 0.4919 GB, free: 8.277 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00627/0.5867, allocations: 0.9682 MB / 0.4928 GB, free: 7.309 MB / 414.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.0443/0.6311, allocations: 7.863 MB / 0.5005 GB, free: 15.42 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.633, allocations: 0.7085 MB / 0.5012 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.633, allocations: 0 / 0.5012 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007145/0.6337, allocations: 375.4 kB / 0.5015 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/0.6354, allocations: 259.6 kB / 0.5018 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.6379, allocations: 1.587 MB / 0.5033 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.6384, allocations: 0.8689 MB / 0.5042 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.6386, allocations: 51.44 kB / 0.5042 GB, free: 11.52 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.6386, allocations: 0 / 0.5042 GB, free: 11.52 MB / 430.1 MB Notification: Performance of Templates: time 0.2044/0.8429, allocations: 38.61 MB / 0.5419 GB, free: 147.2 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches