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.0007707/0.0007707, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001018/0.001789, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.00105/0.00105, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009124/0.001962, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9061/0.9061, allocations: 177.4 MB / 189.9 MB, free: 4.848 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0761/0.9822, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.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.383e-06/1.383e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.831e-05, allocations: 5.266 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.0103/0.01031, allocations: 11.85 MB / 256.9 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007361/0.01768, allocations: 9.526 MB / 266.4 MB, free: 8.188 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.01784, allocations: 7.938 kB / 266.4 MB, free: 8.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.01819, allocations: 186.8 kB / 266.6 MB, free: 7.996 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005857/0.01878, allocations: 0.559 MB / 267.2 MB, free: 7.434 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002977/0.02175, allocations: 1.926 MB / 269.1 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009068/0.02266, allocations: 1.421 MB / 270.5 MB, free: 4.078 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.02283, allocations: 119.6 kB / 270.6 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005664/0.0234, allocations: 0.7289 MB / 271.3 MB, free: 3.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000324/0.02372, allocations: 374.9 kB / 271.7 MB, free: 2.863 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.844e-05/0.02378, allocations: 52 kB / 271.8 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.109/0.1328, allocations: 5.459 MB / 277.2 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.133, allocations: 128.3 kB / 277.3 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004039/0.1334, allocations: 204.9 kB / 277.5 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007379/0.1408, allocations: 4.844 MB / 282.4 MB, free: 4.883 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.692e-05/0.1408, allocations: 0 / 282.4 MB, free: 4.883 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1408, allocations: 0 / 282.4 MB, free: 4.883 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.802e-05/0.1408, allocations: 0 / 282.4 MB, free: 4.883 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.005524/0.1464, allocations: 1.638 MB / 284 MB, free: 4.379 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.1464, allocations: 9.516 kB / 284 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006706/0.1471, allocations: 261.1 kB / 284.3 MB, free: 4.238 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.1474, allocations: 256.2 kB / 284.5 MB, free: 4.074 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.1475, allocations: 33.5 kB / 284.6 MB, free: 4.074 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.707e-05/0.1475, allocations: 55.84 kB / 284.6 MB, free: 4.074 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006882/0.1482, allocations: 0.6734 MB / 285.3 MB, free: 3.676 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.1482, allocations: 5.938 kB / 285.3 MB, free: 3.672 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.1483, allocations: 19.06 kB / 285.3 MB, free: 3.672 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.1483, allocations: 16 kB / 285.3 MB, free: 3.672 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004766/0.1488, allocations: 270.9 kB / 285.6 MB, free: 3.66 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.002579/0.1513, allocations: 2.405 MB / 288 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004981/0.1518, allocations: 261.6 kB / 288.3 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.1519, allocations: 104.7 kB / 288.4 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003079/0.1522, allocations: 146.7 kB / 288.5 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.1523, allocations: 40.41 kB / 288.6 MB, free: 18.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=46): time 2.605e-06/0.1523, allocations: 0.7656 kB / 288.6 MB, free: 18.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=54): time 0.006151/0.1584, allocations: 1.374 MB / 289.9 MB, free: 18.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.1584, allocations: 65.81 kB / 290 MB, free: 18.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.1586, allocations: 258.3 kB / 290.2 MB, free: 17.9 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.1586, allocations: 37.02 kB / 290.3 MB, free: 17.87 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.619e-05/0.1587, allocations: 226.9 kB / 290.5 MB, free: 17.71 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.654e-05/0.1588, allocations: 196.8 kB / 290.7 MB, free: 17.58 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.1589, allocations: 118.6 kB / 290.8 MB, free: 17.56 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.159, allocations: 349.5 kB / 291.2 MB, free: 17.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.39e-05/0.1591, allocations: 69.98 kB / 291.2 MB, free: 17.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.1592, allocations: 223 kB / 291.4 MB, free: 17.08 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.1596, allocations: 357.2 kB / 291.8 MB, free: 16.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.1596, allocations: 0 / 291.8 MB, free: 16.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0006051/0.1602, allocations: 425.7 kB / 292.2 MB, free: 16.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1602, allocations: 7.688 kB / 292.2 MB, free: 16.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1602, allocations: 7.875 kB / 292.2 MB, free: 16.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007129/0.1673, allocations: 432.9 kB / 292.6 MB, free: 16.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004753/0.1678, allocations: 162.1 kB / 292.8 MB, free: 16.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.1691, allocations: 2.794 MB / 295.6 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.1694, allocations: 19.22 kB / 295.6 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.1694, allocations: 25.45 kB / 295.6 MB, free: 14.05 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 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume1.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.0001644/0.1696, allocations: 158.8 kB / 295.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.1697, allocations: 67.62 kB / 295.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006405/0.1704, allocations: 0.6191 MB / 296.5 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.1704, allocations: 9.906 kB / 296.5 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1704, allocations: 1.719 kB / 296.5 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004028/0.1708, allocations: 0.609 MB / 297.1 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.1718, allocations: 0.9255 MB / 298 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.1718, allocations: 0 / 298 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.1721, allocations: 120.6 kB / 298.1 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.1722, allocations: 45.88 kB / 298.2 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/0.1735, allocations: 323.7 kB / 298.5 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.1736, allocations: 12.97 kB / 298.5 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003954/0.174, allocations: 1.05 MB / 299.6 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.174, allocations: 0 / 299.6 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006103/0.1746, allocations: 0.6627 MB / 300.2 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/0.1746, allocations: 16.94 kB / 300.2 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.1748, allocations: 13.69 kB / 300.3 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.1748, allocations: 38.02 kB / 300.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.1748, allocations: 11.59 kB / 300.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.241e-05/0.1749, allocations: 108.1 kB / 300.4 MB, free: 11.31 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1749, allocations: 0 / 300.4 MB, free: 11.31 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002991/0.1779, allocations: 417.2 kB / 300.8 MB, free: 10.95 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.01201/0.1899, allocations: 3.504 MB / 304.3 MB, free: 7.641 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009036/0.1908, allocations: 469.8 kB / 304.8 MB, free: 7.242 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-05/0.1909, allocations: 11.94 kB / 304.8 MB, free: 7.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.1912, allocations: 229.7 kB / 305 MB, free: 7.062 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000931/0.1921, allocations: 294.8 kB / 305.3 MB, free: 6.891 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009155/0.2013, allocations: 1.125 MB / 306.4 MB, free: 5.871 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.2014, allocations: 136 kB / 306.6 MB, free: 5.719 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004205/0.2018, allocations: 210.1 kB / 306.8 MB, free: 5.523 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003933/0.2022, allocations: 222.9 kB / 307 MB, free: 5.312 MB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2022, allocations: 0 / 307 MB, free: 5.312 MB / 282.7 MB Notification: Performance of Templates: time 0.0266/0.2288, allocations: 25.42 MB / 332.4 MB, free: 12.69 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 -ignoreHideResult -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: 3.9403609009459615]