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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 105.5 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 188 kB / 23.72 MB, free: 4.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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.R134a2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 51.92 kB / 370.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2631, allocations: 52.19 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04028/0.3034, allocations: 38.21 MB / 460.8 MB, free: 8.266 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03811/0.3415, allocations: 30.83 MB / 491.7 MB, free: 9.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006093/0.3421, allocations: 11.94 kB / 491.7 MB, free: 9.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.3434, allocations: 425.7 kB / 492.1 MB, free: 8.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.3448, allocations: 0.5322 MB / 492.6 MB, free: 8.367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01525/0.3601, allocations: 5.272 MB / 497.9 MB, free: 3.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002304/0.3624, allocations: 1.387 MB / 499.3 MB, free: 1.691 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003713/0.3628, allocations: 126.8 kB / 499.4 MB, free: 1.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.364, allocations: 0.5411 MB / 500 MB, free: 1.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008645/0.3649, allocations: 462.2 kB / 0.4887 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.365, allocations: 52 kB / 0.4887 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02578/0.3908, allocations: 12.95 MB / 0.5014 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003415/0.3911, allocations: 151.5 kB / 0.5015 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006617/0.3918, allocations: 326.7 kB / 0.5018 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03794/0.4297, allocations: 14.94 MB / 0.5164 GB, free: 4.121 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.4297, allocations: 8 kB / 0.5164 GB, free: 4.113 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4297, allocations: 0 / 0.5164 GB, free: 4.113 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.295e-05/0.4298, allocations: 0 / 0.5164 GB, free: 4.113 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.008277/0.438, allocations: 1.396 MB / 0.5178 GB, free: 2.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.4381, allocations: 8.031 kB / 0.5178 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.4383, allocations: 90.52 kB / 0.5179 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007869/0.439, allocations: 103.6 kB / 0.518 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007001/0.4397, allocations: 324.2 kB / 0.5183 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.107e-05/0.4398, allocations: 37 kB / 0.5183 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.528e-05/0.4399, allocations: 44 kB / 0.5184 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.4412, allocations: 0.6205 MB / 0.519 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.4412, allocations: 3.938 kB / 0.519 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.598e-05/0.4412, allocations: 24 kB / 0.519 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.4413, allocations: 12 kB / 0.519 GB, free: 1.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.4424, allocations: 0.5347 MB / 0.5195 GB, free: 0.8086 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.004908/0.4473, allocations: 3.672 MB / 0.5231 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009749/0.4482, allocations: 399.7 kB / 0.5235 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.4486, allocations: 200.7 kB / 0.5237 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001944/0.4505, allocations: 0.6246 MB / 0.5243 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.4505, allocations: 42.88 kB / 0.5243 GB, free: 11.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.164e-06/0.4505, allocations: 0 / 0.5243 GB, free: 11.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.009201/0.4597, allocations: 1.88 MB / 0.5262 GB, free: 9.672 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.4598, allocations: 59.78 kB / 0.5262 GB, free: 9.602 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.4602, allocations: 308.5 kB / 0.5265 GB, free: 9.293 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.686e-05/0.4602, allocations: 37.7 kB / 0.5266 GB, free: 9.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.4604, allocations: 245.1 kB / 0.5268 GB, free: 9.008 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.4606, allocations: 202.3 kB / 0.527 GB, free: 8.809 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.4608, allocations: 118.3 kB / 0.5271 GB, free: 8.688 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.461, allocations: 346.8 kB / 0.5274 GB, free: 8.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.4613, allocations: 185.2 kB / 0.5276 GB, free: 8.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004576/0.4617, allocations: 324.1 kB / 0.5279 GB, free: 7.781 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008838/0.4626, allocations: 0.5523 MB / 0.5285 GB, free: 7.168 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4626, allocations: 0 / 0.5285 GB, free: 7.168 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001432/0.4641, allocations: 0.674 MB / 0.5291 GB, free: 6.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.4641, allocations: 15.22 kB / 0.5291 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.4641, allocations: 4 kB / 0.5291 GB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008782/0.4729, allocations: 442.3 kB / 0.5296 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006512/0.4735, allocations: 143.8 kB / 0.5297 GB, free: 5.883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/0.4761, allocations: 3.005 MB / 0.5326 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.4764, allocations: 19.94 kB / 0.5326 GB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.561e-05/0.4765, allocations: 24 kB / 0.5327 GB, free: 2.648 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.0003234/0.4768, allocations: 193.6 kB / 0.5329 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.477, allocations: 43.77 kB / 0.5329 GB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.4787, allocations: 1.075 MB / 0.5339 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.4787, allocations: 8 kB / 0.534 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.4787, allocations: 3.938 kB / 0.534 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001308/0.48, allocations: 1.106 MB / 0.535 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1976/0.6777, allocations: 1.735 MB / 0.5367 GB, free: 103.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.6777, allocations: 4.547 kB / 0.5367 GB, free: 103.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004396/0.6781, allocations: 101.8 kB / 0.5368 GB, free: 103.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002959/0.6811, allocations: 351 kB / 0.5372 GB, free: 103.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.426e-05/0.6811, allocations: 15.67 kB / 0.5372 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004863/0.6816, allocations: 1.152 MB / 0.5383 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6816, allocations: 0.7812 kB / 0.5383 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.683, allocations: 1.143 MB / 0.5394 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.6831, allocations: 52.75 kB / 0.5395 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.116e-05/0.6832, allocations: 20.03 kB / 0.5395 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.6834, allocations: 12.53 kB / 0.5395 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.6835, allocations: 38.14 kB / 0.5395 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/0.6835, allocations: 20.47 kB / 0.5396 GB, free: 101.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002543/0.6837, allocations: 250.8 kB / 0.5398 GB, free: 101.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6837, allocations: 1.469 kB / 0.5398 GB, free: 101.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005229/0.689, allocations: 0.9756 MB / 0.5408 GB, free: 101.5 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.02748/0.7165, allocations: 9.474 MB / 0.55 GB, free: 96.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.7179, allocations: 0.7006 MB / 0.5507 GB, free: 96.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.7179, allocations: 4 kB / 0.5507 GB, free: 96.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00048/0.7184, allocations: 351.1 kB / 0.551 GB, free: 95.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.7196, allocations: 262.4 kB / 0.5513 GB, free: 95.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.7296, allocations: 5.35 MB / 0.5565 GB, free: 90.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.7299, allocations: 0.8686 MB / 0.5574 GB, free: 89.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005147/0.7304, allocations: 241.6 kB / 0.5576 GB, free: 89.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.7306, allocations: 196.5 kB / 0.5578 GB, free: 89.52 MB / 446.1 MB Notification: Performance of SimCode: time 1.373e-06/0.7306, allocations: 0 / 0.5578 GB, free: 89.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07115/0.8017, allocations: 42.97 MB / 0.5997 GB, free: 46.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/15.14, allocations: 7.344 kB / 0.5997 GB, free: 46.9 MB / 446.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.60075508779846]