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.0009064/0.0009064, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0008833/0.0008833, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 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.9228/0.9228, allocations: 177 MB / 205.2 MB, free: 5.051 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 3.125e-06/3.125e-06, allocations: 4 kB / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.429e-05, allocations: 2.312 kB / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01158/0.0116, allocations: 11.82 MB / 285.3 MB, free: 5.152 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1043/0.1159, allocations: 9.47 MB / 294.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003063/0.1162, allocations: 10.31 kB / 294.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005162/0.1167, allocations: 188.8 kB / 294.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008358/0.1175, allocations: 0.5607 MB / 295.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003889/0.1214, allocations: 1.925 MB / 297.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001335/0.1228, allocations: 1.408 MB / 298.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.123, allocations: 128 kB / 298.9 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009423/0.1239, allocations: 0.702 MB / 299.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005598/0.1245, allocations: 374.6 kB / 300 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.091e-05/0.1246, allocations: 52.69 kB / 300.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006126/0.1307, allocations: 5.463 MB / 305.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.1308, allocations: 161.5 kB / 305.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.1311, allocations: 239.8 kB / 305.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006292/0.1374, allocations: 5.045 MB / 311 MB, free: 9.902 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1374, allocations: 0 / 311 MB, free: 9.902 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1374, allocations: 0 / 311 MB, free: 9.902 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1374, allocations: 3.938 kB / 311 MB, free: 9.898 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.00191/0.1393, allocations: 0.875 MB / 311.8 MB, free: 9.031 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.1394, allocations: 11.98 kB / 311.8 MB, free: 9.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000442/0.1398, allocations: 188.8 kB / 312 MB, free: 8.836 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.1401, allocations: 255 kB / 312.3 MB, free: 8.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1401, allocations: 36.94 kB / 312.3 MB, free: 8.531 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.1401, allocations: 61.08 kB / 312.4 MB, free: 8.473 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/0.1406, allocations: 0.6687 MB / 313 MB, free: 7.727 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.1406, allocations: 1.719 kB / 313 MB, free: 7.727 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.1406, allocations: 24 kB / 313.1 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.1406, allocations: 12 kB / 313.1 MB, free: 7.691 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.141, allocations: 269.7 kB / 313.3 MB, free: 7.43 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.001607/0.1426, allocations: 2.406 MB / 315.8 MB, free: 5.008 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.1429, allocations: 261 kB / 316 MB, free: 4.762 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.171e-05/0.143, allocations: 104 kB / 316.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003311/0.1433, allocations: 153.2 kB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1434, allocations: 42.34 kB / 316.3 MB, free: 4.473 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 3.256e-06/0.1434, allocations: 0 / 316.3 MB, free: 4.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.00469/0.1481, allocations: 1.367 MB / 317.7 MB, free: 3.086 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.54e-05/0.1481, allocations: 55.91 kB / 317.7 MB, free: 3.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1482, allocations: 263.1 kB / 318 MB, free: 2.785 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.1482, allocations: 39.05 kB / 318 MB, free: 2.742 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.1483, allocations: 221.5 kB / 318.2 MB, free: 2.531 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.743e-05/0.1483, allocations: 196.3 kB / 318.4 MB, free: 2.348 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.293e-05/0.1484, allocations: 117 kB / 318.5 MB, free: 2.242 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.661e-05/0.1484, allocations: 351.9 kB / 318.9 MB, free: 1.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.608e-05/0.1485, allocations: 69.22 kB / 318.9 MB, free: 1.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.1486, allocations: 229 kB / 319.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.1488, allocations: 355 kB / 319.5 MB, free: 1.188 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1488, allocations: 2.25 kB / 319.5 MB, free: 1.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0004394/0.1493, allocations: 427.3 kB / 319.9 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1493, allocations: 9.297 kB / 319.9 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1493, allocations: 8 kB / 320 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005164/0.1545, allocations: 423.5 kB / 320.4 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.1548, allocations: 157.5 kB / 320.5 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.156, allocations: 2.796 MB / 323.3 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.1562, allocations: 16 kB / 323.3 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.1562, allocations: 25.72 kB / 323.4 MB, free: 13.18 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.0001347/0.1563, allocations: 149.9 kB / 323.5 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.1565, allocations: 73.38 kB / 323.6 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005784/0.157, allocations: 0.6146 MB / 324.2 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.1571, allocations: 11.98 kB / 324.2 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.1571, allocations: 3.938 kB / 324.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003795/0.1574, allocations: 0.6127 MB / 324.8 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009084/0.1583, allocations: 0.9249 MB / 325.7 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1584, allocations: 0 / 325.7 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003759/0.1587, allocations: 113.5 kB / 325.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/0.1599, allocations: 315.7 kB / 326.2 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.1599, allocations: 12.72 kB / 326.2 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003395/0.1603, allocations: 1.053 MB / 327.2 MB, free: 9.199 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1603, allocations: 0 / 327.2 MB, free: 9.199 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005524/0.1608, allocations: 0.6552 MB / 327.9 MB, free: 8.527 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.1609, allocations: 44.39 kB / 327.9 MB, free: 8.484 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.1609, allocations: 19.94 kB / 327.9 MB, free: 8.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.161, allocations: 16.75 kB / 328 MB, free: 8.449 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.1611, allocations: 36.42 kB / 328 MB, free: 8.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.1611, allocations: 16.8 kB / 328 MB, free: 8.398 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.58e-05/0.1612, allocations: 100.5 kB / 328.1 MB, free: 8.312 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1612, allocations: 0 / 328.1 MB, free: 8.312 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001491/0.1626, allocations: 424 kB / 328.5 MB, free: 7.898 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.007755/0.1704, allocations: 3.493 MB / 332 MB, free: 4.504 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007052/0.1711, allocations: 463.9 kB / 332.5 MB, free: 4.047 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/0.1711, allocations: 4 kB / 332.5 MB, free: 4.043 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.1714, allocations: 225.8 kB / 332.7 MB, free: 3.828 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006527/0.1721, allocations: 239.6 kB / 332.9 MB, free: 3.621 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.1737, allocations: 1.069 MB / 334 MB, free: 2.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.319e-05/0.1738, allocations: 140 kB / 334.1 MB, free: 2.414 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003131/0.1741, allocations: 212.7 kB / 334.3 MB, free: 2.207 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003249/0.1744, allocations: 223.1 kB / 334.6 MB, free: 1.988 MB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1744, allocations: 0 / 334.6 MB, free: 1.988 MB / 282.7 MB Notification: Performance of Templates: time 0.02386/0.1983, allocations: 24.92 MB / 359.5 MB, free: 9.227 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 -s gbode -gbm=radauIIA3 -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.075625658966601]