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.0009537/0.0009537, allocations: 84.73 kB / 21.57 MB, free: 2.863 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.001193/0.001193, allocations: 166.4 kB / 25 MB, free: 9.207 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.9325/0.9325, allocations: 177 MB / 205.3 MB, free: 5.41 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 1.282e-06/1.282e-06, allocations: 0 / 273.6 MB, free: 1.094 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005e-05/1.133e-05, allocations: 6.312 kB / 273.6 MB, free: 1.086 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01254/0.01255, allocations: 11.83 MB / 285.4 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1374/0.1499, allocations: 9.47 MB / 294.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000235/0.1502, allocations: 11.89 kB / 294.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004039/0.1506, allocations: 185 kB / 295.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006704/0.1512, allocations: 0.5596 MB / 295.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003314/0.1546, allocations: 1.92 MB / 297.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.1556, allocations: 1.416 MB / 299 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.1558, allocations: 118.9 kB / 299.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007519/0.1565, allocations: 0.7076 MB / 299.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004491/0.157, allocations: 374.2 kB / 300.2 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.505e-05/0.157, allocations: 53.88 kB / 300.2 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00691/0.1639, allocations: 5.459 MB / 305.7 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.1641, allocations: 166.3 kB / 305.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.1643, allocations: 239.2 kB / 306.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004903/0.1692, allocations: 5.048 MB / 311.1 MB, free: 9.875 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1692, allocations: 1.719 kB / 311.1 MB, free: 9.875 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1692, allocations: 0 / 311.1 MB, free: 9.875 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1692, allocations: 0 / 311.1 MB, free: 9.875 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.001301/0.1705, allocations: 0.8725 MB / 312 MB, free: 9.008 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.1705, allocations: 11.98 kB / 312 MB, free: 8.996 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003877/0.1709, allocations: 189 kB / 312.2 MB, free: 8.812 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.1711, allocations: 255.8 kB / 312.4 MB, free: 8.543 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.1711, allocations: 38.72 kB / 312.5 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.1712, allocations: 59.89 kB / 312.5 MB, free: 8.445 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004108/0.1716, allocations: 0.6628 MB / 313.2 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1716, allocations: 9.828 kB / 313.2 MB, free: 7.699 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.1716, allocations: 20 kB / 313.2 MB, free: 7.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.1716, allocations: 13.69 kB / 313.2 MB, free: 7.668 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.1719, allocations: 267.2 kB / 313.5 MB, free: 7.406 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.001442/0.1734, allocations: 2.408 MB / 315.9 MB, free: 4.988 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.1737, allocations: 264 kB / 316.2 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.788e-05/0.1738, allocations: 101.5 kB / 316.3 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002025/0.174, allocations: 152 kB / 316.4 MB, free: 4.496 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.174, allocations: 34.94 kB / 316.4 MB, free: 4.453 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.533e-06/0.174, allocations: 0 / 316.4 MB, free: 4.453 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.003793/0.1778, allocations: 1.367 MB / 317.8 MB, free: 3.066 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.294e-05/0.1778, allocations: 55.91 kB / 317.9 MB, free: 3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.459e-05/0.1779, allocations: 262.2 kB / 318.1 MB, free: 2.766 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.1779, allocations: 33.7 kB / 318.2 MB, free: 2.727 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.1779, allocations: 233.6 kB / 318.4 MB, free: 2.504 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/0.178, allocations: 195.6 kB / 318.6 MB, free: 2.324 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-05/0.1781, allocations: 121 kB / 318.7 MB, free: 2.215 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.592e-05/0.1781, allocations: 352.3 kB / 319 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.212e-05/0.1782, allocations: 65.28 kB / 319.1 MB, free: 1.816 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.838e-05/0.1783, allocations: 224.3 kB / 319.3 MB, free: 1.551 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.1785, allocations: 355.5 kB / 319.7 MB, free: 1.168 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1785, allocations: 0 / 319.7 MB, free: 1.168 MB / 266.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000385/0.1788, allocations: 424.5 kB / 320.1 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.1789, allocations: 8 kB / 320.1 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1789, allocations: 5.375 kB / 320.1 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004661/0.1835, allocations: 435.9 kB / 320.5 MB, free: 304 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.1838, allocations: 155.8 kB / 320.7 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009955/0.1848, allocations: 2.792 MB / 323.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.1849, allocations: 24.09 kB / 323.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.1849, allocations: 20 kB / 323.5 MB, free: 13.16 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.0001054/0.185, allocations: 149.8 kB / 323.7 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.1852, allocations: 71.66 kB / 323.7 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000525/0.1857, allocations: 0.6129 MB / 324.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.1857, allocations: 23.92 kB / 324.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1857, allocations: 3.938 kB / 324.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003592/0.186, allocations: 0.6162 MB / 325 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007662/0.1868, allocations: 0.9141 MB / 325.9 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1868, allocations: 0 / 325.9 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.187, allocations: 114.6 kB / 326 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001105/0.1881, allocations: 322.8 kB / 326.3 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.1882, allocations: 12 kB / 326.3 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003128/0.1885, allocations: 1.047 MB / 327.4 MB, free: 9.172 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1885, allocations: 3.938 kB / 327.4 MB, free: 9.168 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004887/0.189, allocations: 0.6499 MB / 328 MB, free: 8.504 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.189, allocations: 50.56 kB / 328.1 MB, free: 8.457 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.189, allocations: 17.66 kB / 328.1 MB, free: 8.441 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1891, allocations: 15.94 kB / 328.1 MB, free: 8.426 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.1892, allocations: 36.42 kB / 328.2 MB, free: 8.391 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.1892, allocations: 11.98 kB / 328.2 MB, free: 8.379 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.806e-05/0.1893, allocations: 105 kB / 328.3 MB, free: 8.289 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1893, allocations: 0 / 328.3 MB, free: 8.289 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009464/0.1902, allocations: 423.2 kB / 328.7 MB, free: 7.875 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.006717/0.1969, allocations: 3.494 MB / 332.2 MB, free: 4.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004951/0.1974, allocations: 465.2 kB / 332.6 MB, free: 4.023 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.1974, allocations: 4 kB / 332.6 MB, free: 4.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.1977, allocations: 225.8 kB / 332.9 MB, free: 3.805 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.1982, allocations: 243.1 kB / 333.1 MB, free: 3.594 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.1995, allocations: 1.072 MB / 334.2 MB, free: 2.539 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.109e-05/0.1996, allocations: 136 kB / 334.3 MB, free: 2.387 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002476/0.1998, allocations: 201.1 kB / 334.5 MB, free: 2.188 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.2001, allocations: 229.4 kB / 334.7 MB, free: 1.965 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.2001, allocations: 0 / 334.7 MB, free: 1.965 MB / 282.7 MB Notification: Performance of Templates: time 0.02205/0.2222, allocations: 24.91 MB / 359.6 MB, free: 9.211 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 -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.0298505844548345]