Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.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.00103/0.00103, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001422/0.001422, allocations: 160.5 kB / 24.55 MB, free: 16 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 1.013/1.013, allocations: 177 MB / 204.8 MB, free: 5.566 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.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.065e-05/3.219e-05, allocations: 5.266 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01192/0.01195, allocations: 10.76 MB / 283.7 MB, free: 6.625 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1437/0.1556, allocations: 9.176 MB / 292.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000305/0.1559, allocations: 7.844 kB / 292.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005519/0.1565, allocations: 142.1 kB / 293 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008119/0.1573, allocations: 401 kB / 293.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005392/0.1627, allocations: 1.904 MB / 295.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.1641, allocations: 0.9881 MB / 296.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.1643, allocations: 81.47 kB / 296.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009536/0.1653, allocations: 0.4926 MB / 296.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006573/0.1659, allocations: 279.4 kB / 297.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.1661, allocations: 39.12 kB / 297.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008917/0.175, allocations: 5.328 MB / 302.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.1752, allocations: 114.9 kB / 302.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003742/0.1755, allocations: 176 kB / 302.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009511/0.185, allocations: 4.914 MB / 307.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.185, allocations: 0 / 307.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1851, allocations: 0 / 307.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1851, allocations: 1.312 kB / 307.7 MB, free: 11.64 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002898/0.188, allocations: 0.863 MB / 308.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.188, allocations: 13.33 kB / 308.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004296/0.1884, allocations: 140.1 kB / 308.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.1888, allocations: 260.9 kB / 309 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.1888, allocations: 23.84 kB / 309 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.343e-05/0.1889, allocations: 42.69 kB / 309 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005283/0.1894, allocations: 0.534 MB / 309.6 MB, free: 9.836 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.1894, allocations: 7.984 kB / 309.6 MB, free: 9.828 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.1894, allocations: 14.16 kB / 309.6 MB, free: 9.824 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.1894, allocations: 11.28 kB / 309.6 MB, free: 9.816 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003555/0.1898, allocations: 243.3 kB / 309.8 MB, free: 9.609 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.001979/0.1918, allocations: 2.57 MB / 312.4 MB, free: 7.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/0.1922, allocations: 216.3 kB / 312.6 MB, free: 6.805 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1923, allocations: 84.98 kB / 312.7 MB, free: 6.719 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003228/0.1926, allocations: 149.5 kB / 312.8 MB, free: 6.574 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.1926, allocations: 44.23 kB / 312.9 MB, free: 6.523 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 3.948e-06/0.1926, allocations: 0 / 312.9 MB, free: 6.523 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.003056/0.1957, allocations: 0.9973 MB / 313.9 MB, free: 5.496 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.1957, allocations: 55.41 kB / 313.9 MB, free: 5.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.1959, allocations: 276.2 kB / 314.2 MB, free: 5.145 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.1959, allocations: 33.7 kB / 314.2 MB, free: 5.105 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.196, allocations: 244.9 kB / 314.5 MB, free: 4.863 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/0.196, allocations: 125 kB / 314.6 MB, free: 4.742 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.931e-05/0.1961, allocations: 89.52 kB / 314.7 MB, free: 4.648 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.018e-05/0.1961, allocations: 0.5117 MB / 315.2 MB, free: 4.125 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.336e-05/0.1962, allocations: 66.02 kB / 315.3 MB, free: 4.062 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.1964, allocations: 227.5 kB / 315.5 MB, free: 3.781 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.1967, allocations: 321.3 kB / 315.8 MB, free: 3.418 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1967, allocations: 1.562 kB / 315.8 MB, free: 3.418 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005237/0.1972, allocations: 392.9 kB / 316.2 MB, free: 3.047 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.1972, allocations: 14.59 kB / 316.2 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1972, allocations: 4.812 kB / 316.2 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002775/0.2, allocations: 239.9 kB / 316.4 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.2002, allocations: 87.62 kB / 316.5 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008325/0.201, allocations: 2.544 MB / 319.1 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.2011, allocations: 12.78 kB / 319.1 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.574e-05/0.2012, allocations: 20.05 kB / 319.1 MB, free: 15.99 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001483/0.2013, allocations: 188.6 kB / 319.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.2015, allocations: 47.69 kB / 319.3 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005913/0.202, allocations: 497.7 kB / 319.8 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.2021, allocations: 7.938 kB / 319.8 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.2021, allocations: 0.8125 kB / 319.8 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004739/0.2025, allocations: 0.6525 MB / 320.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009264/0.2035, allocations: 0.8701 MB / 321.4 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.2035, allocations: 4.75 kB / 321.4 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.2036, allocations: 58.22 kB / 321.4 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007509/0.2044, allocations: 162.5 kB / 321.6 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.2044, allocations: 15.94 kB / 321.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003138/0.2047, allocations: 0.7993 MB / 322.4 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2047, allocations: 0.8125 kB / 322.4 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006225/0.2053, allocations: 0.5753 MB / 323 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.2054, allocations: 36.52 kB / 323 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003075/0.2057, allocations: 7.953 kB / 323 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.651e-05/0.2058, allocations: 12.81 kB / 323 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.2058, allocations: 19.95 kB / 323 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.2058, allocations: 12.78 kB / 323 MB, free: 11.88 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001383/0.206, allocations: 221.1 kB / 323.3 MB, free: 11.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.206, allocations: 4.75 kB / 323.3 MB, free: 11.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002351/0.2083, allocations: 379.1 kB / 323.6 MB, free: 11.29 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009168/0.2175, allocations: 3.472 MB / 327.1 MB, free: 7.922 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000718/0.2182, allocations: 431.4 kB / 327.5 MB, free: 7.492 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2182, allocations: 0 / 327.5 MB, free: 7.492 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.2185, allocations: 152.9 kB / 327.7 MB, free: 7.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006207/0.2191, allocations: 166.2 kB / 327.8 MB, free: 7.195 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.2206, allocations: 0.7847 MB / 328.6 MB, free: 6.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.804e-05/0.2207, allocations: 115 kB / 328.7 MB, free: 6.301 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002577/0.221, allocations: 164.3 kB / 328.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.221, allocations: 34.22 kB / 328.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of SimCode: time 1.493e-06/0.221, allocations: 0 / 328.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of Templates: time 0.02139/0.2424, allocations: 19.4 MB / 348.3 MB, free: 2.859 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.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.722332886885852]