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: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006764/0.0006765, allocations: 96.73 kB / 17.35 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007918/0.0007918, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.202/1.202, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001997/0.0001997, allocations: 8 kB / 307.8 MB, free: 0.7188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07864/0.07885, allocations: 51.51 MB / 359.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1656/0.2445, allocations: 36.61 MB / 396 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02945/0.274, allocations: 31.12 MB / 427.1 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004959/0.2745, allocations: 4 kB / 427.1 MB, free: 6.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008923/0.2754, allocations: 350.2 kB / 427.4 MB, free: 6.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009306/0.2763, allocations: 0.4974 MB / 427.9 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01081/0.2872, allocations: 4.165 MB / 432.1 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001892/0.2891, allocations: 2.034 MB / 434.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.2893, allocations: 123.2 kB / 434.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005798/0.2899, allocations: 470.1 kB / 434.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004526/0.2903, allocations: 446.1 kB / 435.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.575e-05/0.2904, allocations: 24 kB / 435.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04335/0.3337, allocations: 35.31 MB / 470.5 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002513/0.334, allocations: 127.6 kB / 470.6 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000484/0.3345, allocations: 320.4 kB / 470.9 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04928/0.3838, allocations: 26.12 MB / 497 MB, free: 128 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3838, allocations: 0 / 497 MB, free: 128 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3838, allocations: 0 / 497 MB, free: 128 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.3839, allocations: 0 / 497 MB, free: 128 kB / 398.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.006763/0.3906, allocations: 1.314 MB / 498.3 MB, free: 14.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3907, allocations: 11.97 kB / 498.3 MB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.593e-05/0.3908, allocations: 90.45 kB / 498.4 MB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000616/0.3914, allocations: 95.39 kB / 498.5 MB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.3918, allocations: 378 kB / 498.9 MB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.3918, allocations: 37 kB / 498.9 MB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/0.3919, allocations: 48 kB / 499 MB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.3929, allocations: 0.6243 MB / 499.6 MB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.393, allocations: 4 kB / 499.6 MB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.393, allocations: 20 kB / 499.6 MB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.393, allocations: 12 kB / 499.6 MB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008773/0.3939, allocations: 0.5268 MB / 0.4884 GB, free: 12.83 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.003446/0.3974, allocations: 3.815 MB / 0.4922 GB, free: 8.707 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007905/0.3982, allocations: 411.8 kB / 0.4926 GB, free: 8.297 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/0.3985, allocations: 210.8 kB / 0.4928 GB, free: 8.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002962/0.4014, allocations: 3.537 MB / 0.4962 GB, free: 3.852 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.4015, allocations: 42.92 kB / 0.4963 GB, free: 3.801 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 1.734e-06/0.4015, allocations: 0 / 0.4963 GB, free: 3.801 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.008375/0.4099, allocations: 2.052 MB / 0.4983 GB, free: 1.668 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.4099, allocations: 55.84 kB / 0.4983 GB, free: 1.602 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.4102, allocations: 304.5 kB / 0.4986 GB, free: 1.301 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.4102, allocations: 33.7 kB / 0.4986 GB, free: 1.262 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.4104, allocations: 240.5 kB / 0.4989 GB, free: 1.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.4105, allocations: 193.3 kB / 0.499 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.5e-05/0.4106, allocations: 53.69 kB / 0.4991 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.4107, allocations: 350.8 kB / 0.4994 GB, free: 428 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/0.411, allocations: 177.2 kB / 0.4996 GB, free: 252 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.4114, allocations: 332 kB / 0.4999 GB, free: 15.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006897/0.4121, allocations: 0.5446 MB / 0.5005 GB, free: 15.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4121, allocations: 4 kB / 0.5005 GB, free: 15.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00114/0.4132, allocations: 0.6775 MB / 0.5011 GB, free: 14.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.4133, allocations: 4 kB / 0.5011 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.4133, allocations: 4 kB / 0.5011 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008649/0.4219, allocations: 454.3 kB / 0.5016 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004886/0.4224, allocations: 139.8 kB / 0.5017 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/0.4242, allocations: 3.006 MB / 0.5046 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/0.4245, allocations: 51.91 kB / 0.5047 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/0.4246, allocations: 28 kB / 0.5047 GB, free: 10.66 MB / 430.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.0002078/0.4248, allocations: 193.6 kB / 0.5049 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/0.4249, allocations: 39.53 kB / 0.5049 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.4263, allocations: 1.059 MB / 0.506 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.4263, allocations: 15.92 kB / 0.506 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.4263, allocations: 4 kB / 0.506 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001045/0.4273, allocations: 1.091 MB / 0.507 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.4293, allocations: 1.742 MB / 0.5087 GB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4293, allocations: 0 / 0.5087 GB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/0.4297, allocations: 99.89 kB / 0.5088 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002934/0.4326, allocations: 361 kB / 0.5092 GB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.4327, allocations: 20 kB / 0.5092 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005945/0.4333, allocations: 1.144 MB / 0.5103 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.4333, allocations: 0 / 0.5103 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.4346, allocations: 1.127 MB / 0.5114 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.4347, allocations: 144.3 kB / 0.5116 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.601e-05/0.4348, allocations: 12 kB / 0.5116 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.435, allocations: 35.92 kB / 0.5116 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.4351, allocations: 32.52 kB / 0.5116 GB, free: 3.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.4352, allocations: 23.98 kB / 0.5117 GB, free: 3.273 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002291/0.4354, allocations: 247 kB / 0.5119 GB, free: 3.035 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4354, allocations: 0 / 0.5119 GB, free: 3.035 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004497/0.4399, allocations: 0.9682 MB / 0.5128 GB, free: 2.066 MB / 430.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.03928/0.4792, allocations: 9.427 MB / 0.522 GB, free: 8.598 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.4807, allocations: 0.7073 MB / 0.5227 GB, free: 7.879 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.4807, allocations: 4 kB / 0.5227 GB, free: 7.875 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005688/0.4813, allocations: 368.5 kB / 0.5231 GB, free: 7.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.4827, allocations: 259.5 kB / 0.5233 GB, free: 7.273 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009557/0.4923, allocations: 5.707 MB / 0.5289 GB, free: 1.344 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.4927, allocations: 0.8609 MB / 0.5298 GB, free: 464 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004965/0.4932, allocations: 237.2 kB / 0.53 GB, free: 228 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.4934, allocations: 211.3 kB / 0.5302 GB, free: 16 kB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4934, allocations: 0 / 0.5302 GB, free: 16 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1901/0.6835, allocations: 41.21 MB / 0.5704 GB, free: 117.6 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001346/0.6837, allocations: 217.6 kB / 0.5706 GB, free: 117.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.187/3.87, allocations: 0 / 0.5706 GB, free: 117.3 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches