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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001628/0.001628, allocations: 118.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002006/0.002006, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 67.89 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09923/0.1011, allocations: 53.32 MB / 426.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2312/0.3322, allocations: 37.99 MB / 464.7 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03934/0.3716, allocations: 30.74 MB / 495.4 MB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006934/0.3722, allocations: 15.19 kB / 495.4 MB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.3735, allocations: 427 kB / 495.8 MB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.3748, allocations: 0.5302 MB / 496.4 MB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01615/0.391, allocations: 5.245 MB / 0.4899 GB, free: 6.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002163/0.3931, allocations: 1.355 MB / 0.4912 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000288/0.3934, allocations: 130.6 kB / 0.4913 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.3944, allocations: 0.5372 MB / 0.4918 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006194/0.3951, allocations: 459 kB / 0.4923 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.2e-05/0.3951, allocations: 52 kB / 0.4923 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02637/0.4215, allocations: 12.9 MB / 0.5049 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003073/0.4218, allocations: 159.4 kB / 0.5051 GB, free: 6.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005471/0.4224, allocations: 318.8 kB / 0.5054 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03762/0.46, allocations: 14.93 MB / 0.52 GB, free: 7.316 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.46, allocations: 0 / 0.52 GB, free: 7.316 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.46, allocations: 4 kB / 0.52 GB, free: 7.312 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.46, allocations: 0 / 0.52 GB, free: 7.312 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.007326/0.4673, allocations: 1.486 MB / 0.5214 GB, free: 5.773 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.4674, allocations: 8.031 kB / 0.5214 GB, free: 5.766 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001101/0.4675, allocations: 86.52 kB / 0.5215 GB, free: 5.672 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008051/0.4683, allocations: 102.4 kB / 0.5216 GB, free: 5.574 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006459/0.4689, allocations: 386.2 kB / 0.522 GB, free: 5.156 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/0.469, allocations: 37 kB / 0.522 GB, free: 5.117 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.465e-05/0.4691, allocations: 48 kB / 0.522 GB, free: 5.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.4703, allocations: 0.6205 MB / 0.5226 GB, free: 4.406 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.4703, allocations: 3.953 kB / 0.5227 GB, free: 4.402 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.689e-05/0.4703, allocations: 20 kB / 0.5227 GB, free: 4.383 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.4703, allocations: 12 kB / 0.5227 GB, free: 4.371 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.4714, allocations: 0.5346 MB / 0.5232 GB, free: 3.836 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.004918/0.4763, allocations: 3.801 MB / 0.5269 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009641/0.4773, allocations: 395.7 kB / 0.5273 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/0.4776, allocations: 193.5 kB / 0.5275 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003513/0.4811, allocations: 3.459 MB / 0.5309 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/0.4812, allocations: 38.94 kB / 0.5309 GB, free: 10.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.835e-06/0.4812, allocations: 0 / 0.5309 GB, free: 10.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01032/0.4915, allocations: 2.036 MB / 0.5329 GB, free: 8.824 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.4915, allocations: 63.78 kB / 0.5329 GB, free: 8.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003661/0.4919, allocations: 304.5 kB / 0.5332 GB, free: 8.449 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.897e-05/0.492, allocations: 37.7 kB / 0.5333 GB, free: 8.406 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.4922, allocations: 241.1 kB / 0.5335 GB, free: 8.168 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.4923, allocations: 198.3 kB / 0.5337 GB, free: 7.973 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.4925, allocations: 122.3 kB / 0.5338 GB, free: 7.844 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.4927, allocations: 346.8 kB / 0.5341 GB, free: 7.496 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.493, allocations: 181.2 kB / 0.5343 GB, free: 7.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004738/0.4935, allocations: 336 kB / 0.5346 GB, free: 6.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008449/0.4943, allocations: 0.5446 MB / 0.5352 GB, free: 6.324 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4943, allocations: 0 / 0.5352 GB, free: 6.324 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0015/0.4958, allocations: 0.6742 MB / 0.5358 GB, free: 5.633 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.4959, allocations: 11.94 kB / 0.5358 GB, free: 5.621 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.4959, allocations: 4 kB / 0.5358 GB, free: 5.617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01202/0.5079, allocations: 473.9 kB / 0.5363 GB, free: 5.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006415/0.5085, allocations: 144.6 kB / 0.5364 GB, free: 5.004 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002473/0.511, allocations: 3.083 MB / 0.5394 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/0.5113, allocations: 24 kB / 0.5395 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.357e-05/0.5114, allocations: 29.56 kB / 0.5395 GB, free: 1.66 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.0002766/0.5117, allocations: 186.2 kB / 0.5397 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/0.5119, allocations: 51.7 kB / 0.5397 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.5136, allocations: 1.06 MB / 0.5407 GB, free: 344 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.5136, allocations: 11.98 kB / 0.5408 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.5136, allocations: 0 / 0.5408 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001321/0.5149, allocations: 1.091 MB / 0.5418 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/0.5174, allocations: 1.726 MB / 0.5435 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.5174, allocations: 0 / 0.5435 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004083/0.5178, allocations: 103.8 kB / 0.5436 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00308/0.5209, allocations: 349 kB / 0.5439 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.67e-05/0.521, allocations: 25.67 kB / 0.544 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009211/0.5219, allocations: 1.136 MB / 0.5451 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5219, allocations: 8.125 kB / 0.5451 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.5238, allocations: 1.132 MB / 0.5462 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.524, allocations: 124.7 kB / 0.5463 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.346e-05/0.5241, allocations: 16 kB / 0.5463 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.5243, allocations: 11.94 kB / 0.5463 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.698e-05/0.5244, allocations: 36.52 kB / 0.5464 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.811e-05/0.5244, allocations: 23.98 kB / 0.5464 GB, free: 10.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003105/0.5247, allocations: 247 kB / 0.5466 GB, free: 10.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5247, allocations: 4 kB / 0.5466 GB, free: 10.08 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005438/0.5302, allocations: 0.9818 MB / 0.5476 GB, free: 9.098 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.03252/0.5627, allocations: 9.447 MB / 0.5568 GB, free: 15.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.5644, allocations: 0.6966 MB / 0.5575 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5644, allocations: 0 / 0.5575 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006612/0.5651, allocations: 347.4 kB / 0.5578 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.5665, allocations: 266.9 kB / 0.5581 GB, free: 14.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.5779, allocations: 5.343 MB / 0.5633 GB, free: 8.738 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/0.5784, allocations: 0.8687 MB / 0.5641 GB, free: 7.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005634/0.579, allocations: 237 kB / 0.5644 GB, free: 7.605 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.5793, allocations: 203.4 kB / 0.5646 GB, free: 7.406 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5793, allocations: 0 / 0.5646 GB, free: 7.406 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1229/0.7021, allocations: 42.36 MB / 0.6059 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.38, allocations: 7.922 kB / 0.6059 GB, free: 13.07 MB / 0.5137 GB " [Timeout remaining time 645] (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 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.917970555834472]