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.001032/0.001032, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.0009821/0.0009821, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 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 0.9645/0.9645, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] 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: 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_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.591e-05, allocations: 2.312 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01202/0.01204, allocations: 11.82 MB / 284.7 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1525/0.1645, allocations: 9.434 MB / 294.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004137/0.165, allocations: 11.97 kB / 294.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000598/0.1656, allocations: 188.7 kB / 294.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009563/0.1665, allocations: 0.5492 MB / 294.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005227/0.1717, allocations: 2.011 MB / 296.9 MB, free: 13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001877/0.1736, allocations: 1.417 MB / 298.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002958/0.1739, allocations: 125 kB / 298.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.1751, allocations: 0.7019 MB / 299.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006211/0.1758, allocations: 400.1 kB / 299.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.1759, allocations: 54.91 kB / 299.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007923/0.1838, allocations: 5.349 MB / 305 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.184, allocations: 159.9 kB / 305.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004022/0.1844, allocations: 244.8 kB / 305.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008403/0.1928, allocations: 5.044 MB / 310.4 MB, free: 9.773 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1928, allocations: 4 kB / 310.4 MB, free: 9.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1928, allocations: 0 / 310.4 MB, free: 9.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.1928, allocations: 0 / 310.4 MB, free: 9.77 MB / 266.7 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.002777/0.1956, allocations: 1 MB / 311.4 MB, free: 8.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1956, allocations: 15.98 kB / 311.4 MB, free: 8.754 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005142/0.1961, allocations: 192.5 kB / 311.6 MB, free: 8.566 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.1965, allocations: 317.9 kB / 311.9 MB, free: 8.246 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.1965, allocations: 37 kB / 312 MB, free: 8.207 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.688e-05/0.1966, allocations: 59.89 kB / 312 MB, free: 8.148 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006515/0.1972, allocations: 0.7236 MB / 312.7 MB, free: 7.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.1973, allocations: 4 kB / 312.7 MB, free: 7.316 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.1973, allocations: 17.66 kB / 312.8 MB, free: 7.301 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.1973, allocations: 12 kB / 312.8 MB, free: 7.289 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004639/0.1978, allocations: 346.4 kB / 313.1 MB, free: 6.953 MB / 266.7 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.002302/0.2001, allocations: 3.235 MB / 316.3 MB, free: 3.648 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005155/0.2006, allocations: 320.1 kB / 316.7 MB, free: 3.328 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.2007, allocations: 132.4 kB / 316.8 MB, free: 3.195 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002801/0.201, allocations: 153.8 kB / 316.9 MB, free: 3.047 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.201, allocations: 42.55 kB / 317 MB, free: 2.996 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.963e-06/0.201, allocations: 0 / 317 MB, free: 2.996 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.00489/0.2059, allocations: 1.564 MB / 318.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.2059, allocations: 64.89 kB / 318.6 MB, free: 1.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.2061, allocations: 324.1 kB / 318.9 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.2061, allocations: 33.7 kB / 319 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.719e-05/0.2062, allocations: 285.1 kB / 319.2 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.096e-05/0.2063, allocations: 198.9 kB / 319.4 MB, free: 480 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-05/0.2064, allocations: 123.9 kB / 319.5 MB, free: 348 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2065, allocations: 0.5211 MB / 320.1 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.2067, allocations: 101.2 kB / 320.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.207, allocations: 322.6 kB / 320.5 MB, free: 15.31 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000511/0.2075, allocations: 468.1 kB / 320.9 MB, free: 14.79 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2075, allocations: 0.75 kB / 320.9 MB, free: 14.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008298/0.2083, allocations: 0.5732 MB / 321.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.2083, allocations: 10.34 kB / 321.5 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2083, allocations: 4 kB / 321.5 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005553/0.2139, allocations: 455.2 kB / 322 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/0.2142, allocations: 147.1 kB / 322.1 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/0.2163, allocations: 4.239 MB / 326.4 MB, free: 9.141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.2165, allocations: 20 kB / 326.4 MB, free: 9.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.2165, allocations: 31.92 kB / 326.4 MB, free: 9.09 MB / 282.7 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.0001805/0.2167, allocations: 194.9 kB / 326.6 MB, free: 8.891 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.2169, allocations: 75.47 kB / 326.7 MB, free: 8.816 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.2179, allocations: 0.7289 MB / 327.4 MB, free: 8.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.218, allocations: 17.7 kB / 327.4 MB, free: 8.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.218, allocations: 0 / 327.4 MB, free: 8.055 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006306/0.2186, allocations: 0.7682 MB / 328.2 MB, free: 7.211 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.2199, allocations: 1.215 MB / 329.4 MB, free: 5.965 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.2199, allocations: 5.719 kB / 329.4 MB, free: 5.961 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.2201, allocations: 99.83 kB / 329.5 MB, free: 5.867 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/0.2215, allocations: 319.8 kB / 329.8 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.212e-05/0.2215, allocations: 16 kB / 329.8 MB, free: 5.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005135/0.222, allocations: 1.586 MB / 331.4 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.222, allocations: 3.984 kB / 331.4 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008434/0.2229, allocations: 0.8331 MB / 332.2 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.2229, allocations: 49.27 kB / 332.3 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.223, allocations: 12 kB / 332.3 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.2231, allocations: 12 kB / 332.3 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.2231, allocations: 36.42 kB / 332.4 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.2232, allocations: 27.98 kB / 332.4 MB, free: 2.887 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001545/0.2233, allocations: 236.7 kB / 332.6 MB, free: 2.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2233, allocations: 0 / 332.6 MB, free: 2.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002178/0.2255, allocations: 427.1 kB / 333 MB, free: 2.242 MB / 282.7 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.008944/0.2345, allocations: 3.476 MB / 336.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.2357, allocations: 0.605 MB / 337.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2357, allocations: 0.7812 kB / 337.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003952/0.2361, allocations: 273.5 kB / 337.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008534/0.2369, allocations: 244.5 kB / 337.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.2389, allocations: 1.139 MB / 338.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.239, allocations: 140 kB / 338.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003382/0.2393, allocations: 216.1 kB / 339.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.433e-05/0.2394, allocations: 48.5 kB / 339.2 MB, free: 12.22 MB / 298.7 MB Notification: Performance of SimCode: time 1.442e-06/0.2394, allocations: 0 / 339.2 MB, free: 12.22 MB / 298.7 MB Notification: Performance of Templates: time 0.02387/0.2633, allocations: 22.31 MB / 361.5 MB, free: 6.082 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.674942495767027]