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.0009695/0.0009695, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001119/0.001119, allocations: 165.5 kB / 24.82 MB, free: 9.27 MB / 18.57 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 0.9104/0.9104, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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 1.954e-06/1.954e-06, allocations: 0 / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.83e-05, allocations: 2.312 kB / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01697/0.01699, allocations: 11.74 MB / 285.1 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.139/0.156, allocations: 9.311 MB / 294.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003745/0.1564, allocations: 12.25 kB / 294.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005895/0.157, allocations: 180.9 kB / 294.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000974/0.1579, allocations: 0.5611 MB / 295.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005041/0.163, allocations: 2.004 MB / 297.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00176/0.1647, allocations: 1.418 MB / 298.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002649/0.165, allocations: 118 kB / 298.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.1661, allocations: 0.7057 MB / 299.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006279/0.1667, allocations: 400.2 kB / 299.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.785e-05/0.1668, allocations: 52.53 kB / 299.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006918/0.1737, allocations: 5.352 MB / 305.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.1739, allocations: 164 kB / 305.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000251/0.1741, allocations: 244.6 kB / 305.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007283/0.1814, allocations: 5.044 MB / 310.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1814, allocations: 0 / 310.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1814, allocations: 1.719 kB / 310.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1814, allocations: 0 / 310.7 MB, free: 10.11 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.002228/0.1837, allocations: 1.007 MB / 311.7 MB, free: 9.094 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1837, allocations: 9.719 kB / 311.7 MB, free: 9.086 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004699/0.1842, allocations: 190.8 kB / 311.9 MB, free: 8.898 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.1844, allocations: 319.2 kB / 312.2 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.1845, allocations: 38.08 kB / 312.2 MB, free: 8.539 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.1845, allocations: 57.61 kB / 312.3 MB, free: 8.484 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005131/0.185, allocations: 0.6954 MB / 313 MB, free: 7.707 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.185, allocations: 3.984 kB / 313 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.1851, allocations: 24 kB / 313 MB, free: 7.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.1851, allocations: 12 kB / 313 MB, free: 7.668 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/0.1854, allocations: 283.5 kB / 313.3 MB, free: 7.398 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.1874, allocations: 3.189 MB / 316.5 MB, free: 4.184 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004179/0.1878, allocations: 294.1 kB / 316.8 MB, free: 3.902 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.294e-05/0.1879, allocations: 117 kB / 316.9 MB, free: 3.793 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002526/0.1882, allocations: 165.4 kB / 317 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.1882, allocations: 42.58 kB / 317.1 MB, free: 3.594 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.913e-06/0.1882, allocations: 0 / 317.1 MB, free: 3.594 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.004382/0.1926, allocations: 1.461 MB / 318.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.531e-05/0.1926, allocations: 60.69 kB / 318.6 MB, free: 2.035 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.1927, allocations: 324.9 kB / 318.9 MB, free: 1.734 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.1927, allocations: 34.52 kB / 319 MB, free: 1.695 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/0.1928, allocations: 286.3 kB / 319.2 MB, free: 1.418 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.878e-05/0.1929, allocations: 203.9 kB / 319.4 MB, free: 1.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.751e-05/0.193, allocations: 128.1 kB / 319.6 MB, free: 1.113 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.482e-05/0.193, allocations: 0.5235 MB / 320.1 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.989e-05/0.1931, allocations: 78.03 kB / 320.2 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.1933, allocations: 296.8 kB / 320.5 MB, free: 164 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.1936, allocations: 425 kB / 320.9 MB, free: 15.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1936, allocations: 4 kB / 320.9 MB, free: 15.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0006999/0.1943, allocations: 0.5481 MB / 321.4 MB, free: 15.12 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1943, allocations: 8 kB / 321.4 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1943, allocations: 7.938 kB / 321.4 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005275/0.1996, allocations: 477.9 kB / 321.9 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.1999, allocations: 143.8 kB / 322 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02219/0.2221, allocations: 17.43 MB / 339.5 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/0.2224, allocations: 12 kB / 339.5 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.2225, allocations: 32 kB / 339.5 MB, free: 12.05 MB / 298.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.0002096/0.2227, allocations: 196.5 kB / 339.7 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.2228, allocations: 87.41 kB / 339.8 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000736/0.2236, allocations: 0.6826 MB / 340.5 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.2236, allocations: 15.92 kB / 340.5 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2236, allocations: 4 kB / 340.5 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005253/0.2241, allocations: 0.7273 MB / 341.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.2253, allocations: 1.144 MB / 342.4 MB, free: 9.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.2253, allocations: 0 / 342.4 MB, free: 9.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.2255, allocations: 95.89 kB / 342.5 MB, free: 9.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/0.2268, allocations: 374.7 kB / 342.8 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/0.2268, allocations: 19.98 kB / 342.8 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.2287, allocations: 3.521 MB / 346.4 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2287, allocations: 3.984 kB / 346.4 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007888/0.2295, allocations: 0.7836 MB / 347.2 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.284e-05/0.2296, allocations: 49.78 kB / 347.2 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.2296, allocations: 12 kB / 347.2 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.2297, allocations: 12 kB / 347.2 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.2298, allocations: 44.36 kB / 347.3 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.2298, allocations: 15.98 kB / 347.3 MB, free: 3.953 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001185/0.2299, allocations: 229.5 kB / 347.5 MB, free: 3.742 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2299, allocations: 4.031 kB / 347.5 MB, free: 3.738 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001939/0.2318, allocations: 431.1 kB / 347.9 MB, free: 3.316 MB / 298.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 ($cse5.phase,$cse6,$cse9.phase,$cse10,$cse11.phase,$cse12) * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008115/0.24, allocations: 3.503 MB / 351.4 MB, free: 15.85 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009068/0.2409, allocations: 0.5548 MB / 352 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2409, allocations: 3.938 kB / 352 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004484/0.2413, allocations: 0.5554 MB / 352.6 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007329/0.2421, allocations: 242.2 kB / 352.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.2437, allocations: 1.131 MB / 353.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.991e-05/0.2437, allocations: 140 kB / 354.1 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003109/0.2441, allocations: 196.1 kB / 354.2 MB, free: 12.97 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003474/0.2444, allocations: 266 kB / 354.5 MB, free: 12.71 MB / 314.7 MB Notification: Performance of SimCode: time 1.432e-06/0.2444, allocations: 4 kB / 354.5 MB, free: 12.7 MB / 314.7 MB Notification: Performance of Templates: time 0.0261/0.2705, allocations: 25.72 MB / 380.2 MB, free: 3.156 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 240] 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","",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.242556566838175]