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.00166/0.00166, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001953/0.001953, allocations: 211.8 kB / 23.73 MB, free: 4.387 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.001694/0.001694, allocations: 55.86 kB / 378.2 MB, free: 2.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2411, allocations: 53.36 MB / 431.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03961/0.2807, allocations: 34.8 MB / 466.4 MB, free: 3.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03597/0.3167, allocations: 27.18 MB / 493.6 MB, free: 8.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006133/0.3173, allocations: 11.94 kB / 493.6 MB, free: 8.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.3189, allocations: 369.9 kB / 493.9 MB, free: 8.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.3206, allocations: 0.5322 MB / 494.5 MB, free: 7.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01654/0.3372, allocations: 5.266 MB / 499.7 MB, free: 2.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002184/0.3393, allocations: 1.383 MB / 0.4894 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/0.3397, allocations: 119 kB / 0.4895 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.3411, allocations: 0.5566 MB / 0.49 GB, free: 308 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009506/0.342, allocations: 466.2 kB / 0.4905 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.3422, allocations: 52 kB / 0.4905 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02692/0.3691, allocations: 12.72 MB / 0.5029 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004041/0.3695, allocations: 159.4 kB / 0.5031 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006482/0.3702, allocations: 271.1 kB / 0.5033 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04473/0.4149, allocations: 14.95 MB / 0.5179 GB, free: 3.648 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4149, allocations: 4 kB / 0.518 GB, free: 3.645 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4149, allocations: 0 / 0.518 GB, free: 3.645 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.97e-05/0.415, allocations: 0 / 0.518 GB, free: 3.645 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.008126/0.4231, allocations: 1.388 MB / 0.5193 GB, free: 2.219 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.4231, allocations: 8.031 kB / 0.5193 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008002/0.4239, allocations: 99.56 kB / 0.5194 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.4246, allocations: 340.2 kB / 0.5197 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.4246, allocations: 40.94 kB / 0.5198 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-05/0.4247, allocations: 48 kB / 0.5198 GB, free: 1.668 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.426, allocations: 0.8213 MB / 0.5206 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.4261, allocations: 7.953 kB / 0.5206 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.596e-05/0.4261, allocations: 20 kB / 0.5206 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.4261, allocations: 12 kB / 0.5207 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.4272, allocations: 0.5346 MB / 0.5212 GB, free: 184 kB / 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.0048/0.432, allocations: 2.72 MB / 0.5238 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.4331, allocations: 385 kB / 0.5242 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004038/0.4335, allocations: 207 kB / 0.5244 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002159/0.4356, allocations: 0.6246 MB / 0.525 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.665e-05/0.4357, allocations: 42.88 kB / 0.5251 GB, free: 12.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 3.367e-06/0.4357, allocations: 0 / 0.5251 GB, free: 12.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01144/0.4472, allocations: 1.886 MB / 0.5269 GB, free: 10.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.4472, allocations: 63.78 kB / 0.527 GB, free: 10.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.4476, allocations: 281.7 kB / 0.5272 GB, free: 9.832 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.547e-05/0.4477, allocations: 33.7 kB / 0.5273 GB, free: 9.793 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/0.448, allocations: 241 kB / 0.5275 GB, free: 9.555 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.4482, allocations: 198.3 kB / 0.5277 GB, free: 9.359 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.4484, allocations: 118.3 kB / 0.5278 GB, free: 9.238 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.4486, allocations: 346.8 kB / 0.5281 GB, free: 8.891 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/0.449, allocations: 177.2 kB / 0.5283 GB, free: 8.719 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005399/0.4495, allocations: 332 kB / 0.5286 GB, free: 8.336 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.4505, allocations: 0.5485 MB / 0.5291 GB, free: 7.723 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.4505, allocations: 4 kB / 0.5291 GB, free: 7.719 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001838/0.4524, allocations: 0.6698 MB / 0.5298 GB, free: 7.031 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.4524, allocations: 8 kB / 0.5298 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.4524, allocations: 4 kB / 0.5298 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01226/0.4647, allocations: 478.5 kB / 0.5303 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006687/0.4653, allocations: 143.7 kB / 0.5304 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002794/0.4681, allocations: 2.959 MB / 0.5333 GB, free: 3.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003748/0.4685, allocations: 20 kB / 0.5333 GB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.98e-05/0.4686, allocations: 27.98 kB / 0.5333 GB, free: 3.223 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.0003162/0.4689, allocations: 192.6 kB / 0.5335 GB, free: 3.027 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/0.4692, allocations: 43.77 kB / 0.5336 GB, free: 2.984 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.4711, allocations: 1.071 MB / 0.5346 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.4711, allocations: 11.98 kB / 0.5346 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.4711, allocations: 4.094 kB / 0.5346 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001486/0.4726, allocations: 1.122 MB / 0.5357 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.207/0.6796, allocations: 1.58 MB / 0.5373 GB, free: 97.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.6796, allocations: 1.453 kB / 0.5373 GB, free: 97.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004394/0.68, allocations: 97.09 kB / 0.5374 GB, free: 97.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002972/0.683, allocations: 352.7 kB / 0.5377 GB, free: 97.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.861e-05/0.6831, allocations: 18.97 kB / 0.5377 GB, free: 97.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005675/0.6836, allocations: 1.144 MB / 0.5388 GB, free: 96.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.6836, allocations: 6.938 kB / 0.5388 GB, free: 96.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.6852, allocations: 1.146 MB / 0.54 GB, free: 96.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.6854, allocations: 51.2 kB / 0.54 GB, free: 96.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.189e-05/0.6854, allocations: 13.08 kB / 0.54 GB, free: 96.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.6857, allocations: 11.34 kB / 0.54 GB, free: 96.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.6857, allocations: 38.11 kB / 0.5401 GB, free: 96.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/0.6858, allocations: 25.91 kB / 0.5401 GB, free: 96.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002512/0.686, allocations: 227.9 kB / 0.5403 GB, free: 96 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.686, allocations: 0.7812 kB / 0.5403 GB, free: 96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005423/0.6914, allocations: 0.9763 MB / 0.5413 GB, free: 95.92 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.02827/0.7197, allocations: 7.888 MB / 0.549 GB, free: 91.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.7212, allocations: 0.703 MB / 0.5497 GB, free: 90.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.7212, allocations: 0 / 0.5497 GB, free: 90.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005295/0.7218, allocations: 348.9 kB / 0.55 GB, free: 90.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.7231, allocations: 242.6 kB / 0.5502 GB, free: 90.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.7249, allocations: 1.337 MB / 0.5515 GB, free: 89.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.7252, allocations: 265.1 kB / 0.5518 GB, free: 89.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004627/0.7256, allocations: 230.8 kB / 0.552 GB, free: 88.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.69e-05/0.7257, allocations: 52.72 kB / 0.552 GB, free: 88.82 MB / 446.1 MB Notification: Performance of SimCode: time 7.81e-07/0.7257, allocations: 4 kB / 0.552 GB, free: 88.82 MB / 446.1 MB Notification: Performance of Templates: time 0.03875/0.7645, allocations: 36.75 MB / 0.5879 GB, free: 53.32 MB / 446.1 MB " [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: 8.932263289112598]