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.001005/0.001005, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001587/0.002592, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001077/0.001077, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001436/0.002513, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9732/0.9732, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07538/1.049, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.413e-06/1.413e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.645e-05, allocations: 2.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01598/0.016, allocations: 11.87 MB / 256.6 MB, free: 2.301 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009672/0.02567, allocations: 9.499 MB / 266.1 MB, free: 8.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.02592, allocations: 11.94 kB / 266.1 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003789/0.02629, allocations: 182.8 kB / 266.3 MB, free: 8.578 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006451/0.02694, allocations: 0.5629 MB / 266.8 MB, free: 8.012 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003237/0.03018, allocations: 1.925 MB / 268.8 MB, free: 6.082 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.03124, allocations: 1.421 MB / 270.2 MB, free: 4.656 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.03143, allocations: 122.9 kB / 270.3 MB, free: 4.535 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007024/0.03213, allocations: 0.7328 MB / 271 MB, free: 3.801 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003738/0.0325, allocations: 366.9 kB / 271.4 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.726e-05/0.03256, allocations: 52 kB / 271.4 MB, free: 3.391 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1115/0.1441, allocations: 5.458 MB / 276.9 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002156/0.1443, allocations: 132.8 kB / 277 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004012/0.1447, allocations: 209.2 kB / 277.2 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007935/0.1526, allocations: 4.83 MB / 282.1 MB, free: 5.398 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.1526, allocations: 0 / 282.1 MB, free: 5.398 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1526, allocations: 0 / 282.1 MB, free: 5.398 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.1526, allocations: 0 / 282.1 MB, free: 5.398 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.004706/0.1573, allocations: 1.636 MB / 283.7 MB, free: 4.898 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.1574, allocations: 10.97 kB / 283.7 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005191/0.1579, allocations: 261.8 kB / 284 MB, free: 4.754 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.1582, allocations: 260.7 kB / 284.2 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.1582, allocations: 36.06 kB / 284.3 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.077e-05/0.1583, allocations: 52.03 kB / 284.3 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005055/0.1588, allocations: 0.6785 MB / 285 MB, free: 4.184 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1588, allocations: 3.938 kB / 285 MB, free: 4.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.1588, allocations: 18.25 kB / 285 MB, free: 4.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.1588, allocations: 12.81 kB / 285 MB, free: 4.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003435/0.1592, allocations: 271.3 kB / 285.3 MB, free: 4.168 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.001923/0.1611, allocations: 2.406 MB / 287.7 MB, free: 18.94 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/0.1615, allocations: 267.2 kB / 287.9 MB, free: 18.91 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.565e-05/0.1616, allocations: 100.1 kB / 288 MB, free: 18.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002503/0.1619, allocations: 153.2 kB / 288.2 MB, free: 18.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.1619, allocations: 36 kB / 288.2 MB, free: 18.87 MB / 282.7 MB Notification: Performance of pre-optimization done (n=46): time 1.543e-06/0.1619, allocations: 0 / 288.2 MB, free: 18.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=54): time 0.005331/0.1672, allocations: 1.516 MB / 289.7 MB, free: 18.6 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.1672, allocations: 63.34 kB / 289.8 MB, free: 18.53 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.1674, allocations: 268.5 kB / 290.1 MB, free: 18.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.1674, allocations: 29.64 kB / 290.1 MB, free: 18.38 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.439e-05/0.1675, allocations: 232.5 kB / 290.3 MB, free: 18.21 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.097e-05/0.1675, allocations: 202 kB / 290.5 MB, free: 18.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.341e-05/0.1676, allocations: 112.4 kB / 290.6 MB, free: 18.07 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.599e-05/0.1677, allocations: 349.5 kB / 291 MB, free: 17.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.851e-05/0.1678, allocations: 72.14 kB / 291 MB, free: 17.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.1679, allocations: 217.8 kB / 291.3 MB, free: 17.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.1681, allocations: 369.2 kB / 291.6 MB, free: 17.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1681, allocations: 2.438 kB / 291.6 MB, free: 17.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0004588/0.1686, allocations: 418.9 kB / 292 MB, free: 17.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1686, allocations: 11.38 kB / 292 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.1686, allocations: 8.547 kB / 292.1 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005446/0.174, allocations: 438.7 kB / 292.5 MB, free: 17.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.1744, allocations: 164.1 kB / 292.6 MB, free: 17.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.1754, allocations: 2.792 MB / 295.4 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.1756, allocations: 17.16 kB / 295.4 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.1756, allocations: 24.16 kB / 295.5 MB, free: 14.56 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.0001207/0.1757, allocations: 157.1 kB / 295.6 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.1759, allocations: 67.94 kB / 295.7 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/0.1763, allocations: 0.6198 MB / 296.3 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.1763, allocations: 10.47 kB / 296.3 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.1763, allocations: 0 / 296.3 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003277/0.1767, allocations: 0.6102 MB / 296.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007804/0.1774, allocations: 0.9308 MB / 297.9 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.1774, allocations: 0.8125 kB / 297.9 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.1777, allocations: 119.1 kB / 298 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.1777, allocations: 44.55 kB / 298 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001099/0.1788, allocations: 318.6 kB / 298.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.1788, allocations: 15.86 kB / 298.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003405/0.1792, allocations: 1.052 MB / 299.4 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1792, allocations: 0.8125 kB / 299.4 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/0.1796, allocations: 0.6602 MB / 300.1 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.1797, allocations: 23.52 kB / 300.1 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.1798, allocations: 10.5 kB / 300.1 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.1798, allocations: 41.44 kB / 300.1 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.1798, allocations: 19.97 kB / 300.2 MB, free: 12.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.65e-05/0.1799, allocations: 98.33 kB / 300.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1799, allocations: 0 / 300.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.003039/0.183, allocations: 420.4 kB / 300.7 MB, free: 11.99 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.008068/0.191, allocations: 3.504 MB / 304.2 MB, free: 8.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006477/0.1917, allocations: 475.2 kB / 304.6 MB, free: 8.281 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.857e-05/0.1917, allocations: 11.84 kB / 304.6 MB, free: 8.273 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003268/0.192, allocations: 263.7 kB / 304.9 MB, free: 8.078 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008903/0.1929, allocations: 1.042 MB / 305.9 MB, free: 7.004 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009674/0.2026, allocations: 1.114 MB / 307.1 MB, free: 6.031 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.2027, allocations: 139.7 kB / 307.2 MB, free: 5.875 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004517/0.2031, allocations: 201.9 kB / 307.4 MB, free: 5.684 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004135/0.2036, allocations: 228.1 kB / 307.6 MB, free: 5.469 MB / 282.7 MB Notification: Performance of SimCode: time 2.044e-06/0.2036, allocations: 0 / 307.6 MB, free: 5.469 MB / 282.7 MB Notification: Performance of Templates: time 0.03032/0.2339, allocations: 25.34 MB / 332.9 MB, free: 12.95 MB / 314.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.048923757858574]