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.001291/0.001291, allocations: 110 kB / 20.43 MB, free: 1.453 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.001412/0.001412, allocations: 213.1 kB / 23.74 MB, free: 4.66 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.414/1.414, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.001843/0.001843, allocations: 67.91 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2735, allocations: 53.4 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04196/0.3154, allocations: 38.32 MB / 469.5 MB, free: 240 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03514/0.3506, allocations: 30.87 MB / 0.4886 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005399/0.3511, allocations: 15.88 kB / 0.4887 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.3523, allocations: 425.7 kB / 0.4891 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.3534, allocations: 0.5322 MB / 0.4896 GB, free: 304 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01424/0.3676, allocations: 5.284 MB / 0.4947 GB, free: 11 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002216/0.3698, allocations: 1.379 MB / 0.4961 GB, free: 9.617 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002814/0.3701, allocations: 126.9 kB / 0.4962 GB, free: 9.488 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008943/0.371, allocations: 0.5411 MB / 0.4967 GB, free: 8.945 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006533/0.3716, allocations: 470.1 kB / 0.4972 GB, free: 8.484 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.523e-05/0.3717, allocations: 56 kB / 0.4972 GB, free: 8.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02366/0.3954, allocations: 12.96 MB / 0.5099 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003373/0.3957, allocations: 159.5 kB / 0.5101 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005649/0.3963, allocations: 318.7 kB / 0.5104 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03651/0.4328, allocations: 14.95 MB / 0.525 GB, free: 12.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4328, allocations: 0 / 0.525 GB, free: 12.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.4328, allocations: 0 / 0.525 GB, free: 12.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.4328, allocations: 0 / 0.525 GB, free: 12.01 MB / 446.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.008542/0.4414, allocations: 1.404 MB / 0.5263 GB, free: 10.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.4414, allocations: 12.03 kB / 0.5263 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.4415, allocations: 90.52 kB / 0.5264 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008088/0.4423, allocations: 95.56 kB / 0.5265 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006315/0.443, allocations: 320.2 kB / 0.5268 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/0.443, allocations: 41 kB / 0.5269 GB, free: 9.984 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.69e-05/0.4431, allocations: 48 kB / 0.5269 GB, free: 9.938 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.4443, allocations: 0.6205 MB / 0.5275 GB, free: 9.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/0.4443, allocations: 11.89 kB / 0.5275 GB, free: 9.258 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.554e-05/0.4444, allocations: 16 kB / 0.5275 GB, free: 9.242 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.4444, allocations: 12 kB / 0.5276 GB, free: 9.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.4454, allocations: 0.5347 MB / 0.5281 GB, free: 8.695 MB / 446.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.004816/0.4502, allocations: 3.667 MB / 0.5317 GB, free: 4.754 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009434/0.4512, allocations: 398.8 kB / 0.532 GB, free: 4.359 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.4515, allocations: 193.5 kB / 0.5322 GB, free: 4.168 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001936/0.4534, allocations: 0.6207 MB / 0.5328 GB, free: 3.547 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.4535, allocations: 34.94 kB / 0.5329 GB, free: 3.504 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 1.904e-06/0.4535, allocations: 0 / 0.5329 GB, free: 3.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.00973/0.4632, allocations: 1.886 MB / 0.5347 GB, free: 1.574 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.4633, allocations: 71.78 kB / 0.5348 GB, free: 1.492 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003712/0.4636, allocations: 312.4 kB / 0.5351 GB, free: 1.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/0.4637, allocations: 41.64 kB / 0.5351 GB, free: 1.133 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.4639, allocations: 229.2 kB / 0.5353 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.464, allocations: 198.3 kB / 0.5355 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.4642, allocations: 118.3 kB / 0.5356 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.4644, allocations: 350.8 kB / 0.536 GB, free: 244 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.4647, allocations: 189.2 kB / 0.5361 GB, free: 56 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2189/0.6836, allocations: 322.1 kB / 0.5365 GB, free: 96.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009318/0.6845, allocations: 0.5481 MB / 0.537 GB, free: 96.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.6845, allocations: 2.375 kB / 0.537 GB, free: 96.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001541/0.6861, allocations: 0.675 MB / 0.5376 GB, free: 96.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.6861, allocations: 11.28 kB / 0.5377 GB, free: 96.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.6861, allocations: 7.797 kB / 0.5377 GB, free: 96.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01124/0.6973, allocations: 466.1 kB / 0.5381 GB, free: 96.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005829/0.6979, allocations: 146.7 kB / 0.5382 GB, free: 96.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.6994, allocations: 2.983 MB / 0.5412 GB, free: 93.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/0.6997, allocations: 13.56 kB / 0.5412 GB, free: 93.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/0.6997, allocations: 32.25 kB / 0.5412 GB, free: 93.1 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.0002264/0.6999, allocations: 187.6 kB / 0.5414 GB, free: 92.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.7002, allocations: 54.02 kB / 0.5414 GB, free: 92.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.7015, allocations: 1.075 MB / 0.5425 GB, free: 92.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.7015, allocations: 16.36 kB / 0.5425 GB, free: 92.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.7016, allocations: 0.6562 kB / 0.5425 GB, free: 92.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001035/0.7026, allocations: 1.109 MB / 0.5436 GB, free: 91.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.7046, allocations: 1.745 MB / 0.5453 GB, free: 90.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.7046, allocations: 0 / 0.5453 GB, free: 90.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003567/0.705, allocations: 100.8 kB / 0.5454 GB, free: 90.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003025/0.708, allocations: 357 kB / 0.5457 GB, free: 90.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.708, allocations: 13.39 kB / 0.5457 GB, free: 90.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004202/0.7084, allocations: 1.151 MB / 0.5469 GB, free: 89.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.7084, allocations: 4.578 kB / 0.5469 GB, free: 89.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.7096, allocations: 1.146 MB / 0.548 GB, free: 89.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-05/0.7097, allocations: 55.05 kB / 0.548 GB, free: 89.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.971e-05/0.7098, allocations: 16.47 kB / 0.5481 GB, free: 89.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.71, allocations: 11.72 kB / 0.5481 GB, free: 89.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.7101, allocations: 38.39 kB / 0.5481 GB, free: 89.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.7101, allocations: 23.3 kB / 0.5481 GB, free: 89.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.7103, allocations: 252.6 kB / 0.5484 GB, free: 88.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7103, allocations: 0 / 0.5484 GB, free: 88.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004952/0.7153, allocations: 0.9838 MB / 0.5493 GB, free: 88.84 MB / 446.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.02701/0.7423, allocations: 9.47 MB / 0.5586 GB, free: 82.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.7438, allocations: 0.6851 MB / 0.5592 GB, free: 81.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/0.7438, allocations: 0 / 0.5592 GB, free: 81.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004726/0.7443, allocations: 356.2 kB / 0.5596 GB, free: 81.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.7456, allocations: 264.3 kB / 0.5598 GB, free: 81.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008724/0.7543, allocations: 5.348 MB / 0.5651 GB, free: 76.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.7545, allocations: 0.8599 MB / 0.5659 GB, free: 75.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004369/0.755, allocations: 252.1 kB / 0.5661 GB, free: 75.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.7551, allocations: 199.4 kB / 0.5663 GB, free: 74.99 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.7551, allocations: 0 / 0.5663 GB, free: 74.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09643/0.8516, allocations: 43.01 MB / 0.6083 GB, free: 32.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.42/15.27, allocations: 11.94 kB / 0.6083 GB, free: 32.05 MB / 446.1 MB " [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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.620630332967266]