Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002204/0.002204, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 254.1 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 51.92 kB / 373.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1101, allocations: 53.33 MB / 426.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2241/0.3342, allocations: 37.98 MB / 464.8 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03637/0.3706, allocations: 30.73 MB / 495.5 MB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005363/0.3711, allocations: 12.25 kB / 495.5 MB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.3722, allocations: 426.7 kB / 495.9 MB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.3733, allocations: 0.5365 MB / 496.5 MB, free: 10 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01444/0.3878, allocations: 5.238 MB / 0.49 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001919/0.3897, allocations: 1.359 MB / 0.4913 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.39, allocations: 134.6 kB / 0.4914 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008207/0.3908, allocations: 0.5372 MB / 0.4919 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005842/0.3914, allocations: 464 kB / 0.4924 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.191e-05/0.3915, allocations: 52 kB / 0.4924 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0291/0.4206, allocations: 12.9 MB / 0.505 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000359/0.4209, allocations: 163.4 kB / 0.5052 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005913/0.4215, allocations: 314.8 kB / 0.5055 GB, free: 5.672 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03728/0.4588, allocations: 14.94 MB / 0.5201 GB, free: 6.711 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.4588, allocations: 0 / 0.5201 GB, free: 6.711 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4588, allocations: 0 / 0.5201 GB, free: 6.711 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.4588, allocations: 0 / 0.5201 GB, free: 6.711 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.008306/0.4671, allocations: 1.475 MB / 0.5215 GB, free: 5.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.4672, allocations: 8.031 kB / 0.5215 GB, free: 5.172 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008253/0.468, allocations: 103.6 kB / 0.5216 GB, free: 5.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005826/0.4686, allocations: 382.1 kB / 0.522 GB, free: 4.656 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/0.4686, allocations: 37 kB / 0.522 GB, free: 4.617 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.776e-05/0.4687, allocations: 48 kB / 0.5221 GB, free: 4.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.4699, allocations: 0.6205 MB / 0.5227 GB, free: 3.906 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.47, allocations: 3.953 kB / 0.5227 GB, free: 3.902 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.374e-05/0.47, allocations: 24 kB / 0.5227 GB, free: 3.879 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.47, allocations: 12 kB / 0.5227 GB, free: 3.867 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.4711, allocations: 0.5268 MB / 0.5232 GB, free: 3.336 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.004618/0.4758, allocations: 3.804 MB / 0.5269 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.4768, allocations: 399.8 kB / 0.5273 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/0.4771, allocations: 197.5 kB / 0.5275 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003805/0.4809, allocations: 3.455 MB / 0.5309 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.4809, allocations: 38.94 kB / 0.5309 GB, free: 10.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.725e-06/0.4809, allocations: 0.5156 kB / 0.5309 GB, free: 10.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01086/0.4918, allocations: 2.041 MB / 0.5329 GB, free: 8.316 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.4918, allocations: 59.84 kB / 0.533 GB, free: 8.246 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.4922, allocations: 312.4 kB / 0.5333 GB, free: 7.941 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.641e-05/0.4923, allocations: 41.7 kB / 0.5333 GB, free: 7.895 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.4925, allocations: 241.1 kB / 0.5335 GB, free: 7.656 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.4926, allocations: 190.3 kB / 0.5337 GB, free: 7.469 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.4928, allocations: 118.3 kB / 0.5338 GB, free: 7.344 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.493, allocations: 350.8 kB / 0.5342 GB, free: 6.992 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.4933, allocations: 177.2 kB / 0.5343 GB, free: 6.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/0.4938, allocations: 336.5 kB / 0.5347 GB, free: 6.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008908/0.4947, allocations: 0.5454 MB / 0.5352 GB, free: 5.824 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4947, allocations: 3.938 kB / 0.5352 GB, free: 5.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001517/0.4963, allocations: 0.6764 MB / 0.5359 GB, free: 5.129 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.4963, allocations: 8 kB / 0.5359 GB, free: 5.121 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.4963, allocations: 7.938 kB / 0.5359 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.013/0.5093, allocations: 474.5 kB / 0.5363 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000608/0.5099, allocations: 143.8 kB / 0.5365 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/0.5126, allocations: 3.09 MB / 0.5395 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/0.5129, allocations: 19.92 kB / 0.5395 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/0.513, allocations: 28 kB / 0.5395 GB, free: 1.152 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.0002897/0.5133, allocations: 188.9 kB / 0.5397 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/0.5135, allocations: 47.7 kB / 0.5397 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/0.5153, allocations: 1.055 MB / 0.5408 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/0.5154, allocations: 15.98 kB / 0.5408 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.5154, allocations: 0 / 0.5408 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001437/0.5168, allocations: 1.087 MB / 0.5419 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/0.5192, allocations: 1.729 MB / 0.5435 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.5192, allocations: 4 kB / 0.5435 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/0.5196, allocations: 96.77 kB / 0.5436 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003266/0.5229, allocations: 353 kB / 0.544 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/0.5229, allocations: 19.94 kB / 0.544 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008916/0.5238, allocations: 1.148 MB / 0.5451 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5238, allocations: 0 / 0.5451 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.5256, allocations: 1.125 MB / 0.5462 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.5257, allocations: 124.8 kB / 0.5463 GB, free: 9.918 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.756e-05/0.5258, allocations: 22.8 kB / 0.5464 GB, free: 9.898 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.526, allocations: 20.03 kB / 0.5464 GB, free: 9.879 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.5261, allocations: 32.52 kB / 0.5464 GB, free: 9.844 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.726e-05/0.5261, allocations: 23.98 kB / 0.5464 GB, free: 9.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002908/0.5264, allocations: 247 kB / 0.5467 GB, free: 9.582 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5264, allocations: 4 kB / 0.5467 GB, free: 9.578 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00601/0.5324, allocations: 0.974 MB / 0.5476 GB, free: 8.602 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.03192/0.5643, allocations: 7.893 MB / 0.5553 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001852/0.5662, allocations: 0.6812 MB / 0.556 GB, free: 15.99 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.5662, allocations: 8 kB / 0.556 GB, free: 15.98 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006758/0.5669, allocations: 347.4 kB / 0.5563 GB, free: 15.65 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.5684, allocations: 259 kB / 0.5566 GB, free: 15.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.5708, allocations: 1.348 MB / 0.5579 GB, free: 14.03 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000536/0.5713, allocations: 0.8609 MB / 0.5587 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005177/0.5719, allocations: 248 kB / 0.559 GB, free: 12.89 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.572, allocations: 55.42 kB / 0.559 GB, free: 12.84 MB / 478.1 MB Notification: Performance of SimCode: time 5.11e-07/0.572, allocations: 0 / 0.559 GB, free: 12.84 MB / 478.1 MB Notification: Performance of Templates: time 0.0567/0.6287, allocations: 36.31 MB / 0.5945 GB, free: 8.555 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 9.146276149898767]