Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.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: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 101.2 kB / 16.5 MB, free: 6.645 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.001192/0.001192, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.299/1.299, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 46.55 kB / 300.1 MB, free: 6.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08445/0.08551, allocations: 49.44 MB / 349.5 MB, free: 4.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1886/0.2742, allocations: 26.31 MB / 375.8 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02319/0.2974, allocations: 25.63 MB / 401.4 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005082/0.298, allocations: 3.812 kB / 401.4 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.299, allocations: 247.2 kB / 401.7 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.3001, allocations: 363.3 kB / 402 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01274/0.3129, allocations: 3.251 MB / 405.3 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001566/0.3145, allocations: 1.392 MB / 406.7 MB, free: 8.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.3147, allocations: 82.16 kB / 406.8 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007852/0.3155, allocations: 338.6 kB / 407.1 MB, free: 8.168 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005263/0.316, allocations: 307 kB / 407.4 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.268e-05/0.3161, allocations: 19.25 kB / 407.4 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03997/0.3561, allocations: 27.65 MB / 435.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.3563, allocations: 103.6 kB / 435.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000452/0.3568, allocations: 203.2 kB / 435.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05489/0.4117, allocations: 20.16 MB / 455.5 MB, free: 9.762 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4117, allocations: 4 kB / 455.5 MB, free: 9.758 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4117, allocations: 0 / 455.5 MB, free: 9.758 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.4118, allocations: 0 / 455.5 MB, free: 9.758 MB / 366.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.006351/0.4181, allocations: 1.131 MB / 456.7 MB, free: 8.578 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.4182, allocations: 8.031 kB / 456.7 MB, free: 8.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.663e-05/0.4183, allocations: 70.53 kB / 456.7 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006313/0.4189, allocations: 71.52 kB / 456.8 MB, free: 8.422 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.4193, allocations: 318.3 kB / 457.1 MB, free: 8.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.4194, allocations: 20.66 kB / 457.1 MB, free: 8.051 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.302e-05/0.4194, allocations: 35.98 kB / 457.2 MB, free: 8.016 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008763/0.4203, allocations: 467.7 kB / 457.6 MB, free: 7.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.4203, allocations: 0 / 457.6 MB, free: 7.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/0.4204, allocations: 16 kB / 457.6 MB, free: 7.504 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.4204, allocations: 11.94 kB / 457.7 MB, free: 7.492 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007157/0.4211, allocations: 386.3 kB / 458 MB, free: 7.117 MB / 366.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.003236/0.4244, allocations: 2.949 MB / 461 MB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006379/0.425, allocations: 298.7 kB / 461.3 MB, free: 3.633 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.4252, allocations: 132.8 kB / 461.4 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002169/0.4274, allocations: 2.466 MB / 463.9 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.4275, allocations: 42.56 kB / 463.9 MB, free: 496 kB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.542e-06/0.4275, allocations: 0 / 463.9 MB, free: 496 kB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.005032/0.4325, allocations: 1.287 MB / 465.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.4325, allocations: 59.34 kB / 465.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.4328, allocations: 258.5 kB / 465.5 MB, free: 14.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.4328, allocations: 33.7 kB / 465.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.433, allocations: 188.1 kB / 465.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.866e-05/0.4331, allocations: 126.2 kB / 465.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.4332, allocations: 82.12 kB / 465.9 MB, free: 14.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.4333, allocations: 334.8 kB / 466.3 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.4335, allocations: 120.8 kB / 466.4 MB, free: 13.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.4338, allocations: 234 kB / 466.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004805/0.4342, allocations: 378.6 kB / 467 MB, free: 13.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.4343, allocations: 4 kB / 467 MB, free: 13.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007759/0.435, allocations: 458.9 kB / 467.4 MB, free: 12.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.4351, allocations: 4 kB / 467.4 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.4351, allocations: 4 kB / 467.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004623/0.4397, allocations: 237.4 kB / 467.7 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.44, allocations: 95.77 kB / 467.8 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.4413, allocations: 1.832 MB / 469.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.4416, allocations: 32.23 kB / 469.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.4416, allocations: 16 kB / 469.6 MB, free: 10.37 MB / 382.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.0001792/0.4418, allocations: 173.6 kB / 469.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.153e-05/0.4419, allocations: 35.62 kB / 469.8 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009769/0.4429, allocations: 0.6852 MB / 470.5 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.4429, allocations: 8 kB / 470.5 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.4429, allocations: 4 kB / 470.5 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007631/0.4437, allocations: 0.8632 MB / 471.4 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.4451, allocations: 1.186 MB / 472.6 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4451, allocations: 0 / 472.6 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.4453, allocations: 67.97 kB / 472.6 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001581/0.4469, allocations: 180.5 kB / 472.8 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.447, allocations: 11.98 kB / 472.8 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003203/0.4473, allocations: 0.5757 MB / 473.4 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4473, allocations: 4.094 kB / 473.4 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008958/0.4482, allocations: 0.7374 MB / 474.2 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-05/0.4483, allocations: 104.7 kB / 474.3 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/0.4483, allocations: 11.91 kB / 474.3 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.4486, allocations: 23.98 kB / 474.3 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.4486, allocations: 23.97 kB / 474.3 MB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.4486, allocations: 15.98 kB / 474.3 MB, free: 5.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002084/0.4489, allocations: 218 kB / 474.5 MB, free: 5.215 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.4489, allocations: 0 / 474.5 MB, free: 5.215 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004327/0.4532, allocations: 0.7379 MB / 475.3 MB, free: 4.477 MB / 382.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.03431/0.4875, allocations: 7.584 MB / 482.9 MB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.4886, allocations: 474.3 kB / 483.3 MB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/0.4886, allocations: 7.984 kB / 483.3 MB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004218/0.489, allocations: 217.6 kB / 483.5 MB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.4902, allocations: 191.6 kB / 483.7 MB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007821/0.498, allocations: 4.2 MB / 487.9 MB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.4984, allocations: 0.8047 MB / 488.7 MB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004226/0.4988, allocations: 183 kB / 488.9 MB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.499, allocations: 139.4 kB / 489.1 MB, free: 6.449 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.499, allocations: 0 / 489.1 MB, free: 6.449 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.895/2.394, allocations: 33.07 MB / 0.5099 GB, free: 5.488 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/2.395, allocations: 216 kB / 0.5101 GB, free: 5.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.305/6.7, allocations: 0 / 0.5101 GB, free: 5.23 MB / 430.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches