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.0009421/0.0009421, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.0009195/0.0009195, allocations: 169.7 kB / 24.82 MB, free: 9.273 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.9531/0.9531, allocations: 177 MB / 205.1 MB, free: 5.477 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.633e-06/1.633e-06, allocations: 0 / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.167e-05, allocations: 6.312 kB / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01001/0.01003, allocations: 11.75 MB / 285.1 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1123/0.1223, allocations: 9.32 MB / 294.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004057/0.1227, allocations: 8.438 kB / 294.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006433/0.1233, allocations: 188.3 kB / 294.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.1245, allocations: 0.5586 MB / 295.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006119/0.1306, allocations: 2.007 MB / 297.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002065/0.1327, allocations: 1.417 MB / 298.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002842/0.1329, allocations: 120.9 kB / 298.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.1341, allocations: 0.7042 MB / 299.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007524/0.1349, allocations: 404.5 kB / 299.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.135, allocations: 51.84 kB / 299.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007036/0.142, allocations: 5.349 MB / 305.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.1422, allocations: 163.6 kB / 305.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004178/0.1426, allocations: 243.5 kB / 305.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00844/0.1511, allocations: 5.04 MB / 310.6 MB, free: 9.992 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1511, allocations: 4.812 kB / 310.6 MB, free: 9.988 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1511, allocations: 0 / 310.6 MB, free: 9.988 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.1511, allocations: 0.7812 kB / 310.6 MB, free: 9.988 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.002327/0.1534, allocations: 1.003 MB / 311.6 MB, free: 8.977 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1535, allocations: 16.77 kB / 311.7 MB, free: 8.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000476/0.1539, allocations: 195.3 kB / 311.8 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.1542, allocations: 310.3 kB / 312.2 MB, free: 8.457 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1542, allocations: 37 kB / 312.2 MB, free: 8.418 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.1543, allocations: 55.89 kB / 312.2 MB, free: 8.363 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005127/0.1548, allocations: 0.6938 MB / 312.9 MB, free: 7.582 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.1548, allocations: 9.25 kB / 312.9 MB, free: 7.574 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.1548, allocations: 16 kB / 313 MB, free: 7.559 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.1548, allocations: 12.61 kB / 313 MB, free: 7.547 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.1552, allocations: 293.2 kB / 313.3 MB, free: 7.262 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.001913/0.1571, allocations: 3.186 MB / 316.4 MB, free: 4.051 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.1575, allocations: 293.1 kB / 316.7 MB, free: 3.766 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.024e-05/0.1576, allocations: 117.7 kB / 316.8 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002571/0.1578, allocations: 168.2 kB / 317 MB, free: 3.504 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.1578, allocations: 39.11 kB / 317 MB, free: 3.457 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.944e-06/0.1578, allocations: 0 / 317 MB, free: 3.457 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.004384/0.1622, allocations: 1.461 MB / 318.5 MB, free: 1.973 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.1622, allocations: 65.56 kB / 318.6 MB, free: 1.898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.1624, allocations: 314.9 kB / 318.9 MB, free: 1.605 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.1624, allocations: 37.7 kB / 318.9 MB, free: 1.562 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.932e-05/0.1625, allocations: 292.1 kB / 319.2 MB, free: 1.281 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.67e-05/0.1626, allocations: 199.5 kB / 319.4 MB, free: 1.098 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.1627, allocations: 133.1 kB / 319.5 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.848e-05/0.1628, allocations: 0.5219 MB / 320.1 MB, free: 472 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.693e-05/0.1629, allocations: 81.23 kB / 320.1 MB, free: 392 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.163, allocations: 291 kB / 320.4 MB, free: 28 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/0.1635, allocations: 424.6 kB / 320.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1635, allocations: 4 kB / 320.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007434/0.1642, allocations: 0.5394 MB / 321.4 MB, free: 14.99 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1642, allocations: 8.625 kB / 321.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.1642, allocations: 4 kB / 321.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005392/0.1696, allocations: 493 kB / 321.9 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.1699, allocations: 135.8 kB / 322 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02275/0.1927, allocations: 17.43 MB / 339.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/0.193, allocations: 19.98 kB / 339.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/0.1931, allocations: 24 kB / 339.5 MB, free: 11.94 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.0001878/0.1933, allocations: 192.4 kB / 339.7 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.1934, allocations: 83.59 kB / 339.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007622/0.1942, allocations: 0.698 MB / 340.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.1942, allocations: 15.98 kB / 340.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1942, allocations: 0 / 340.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005148/0.1947, allocations: 0.7306 MB / 341.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.1958, allocations: 1.135 MB / 342.3 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1958, allocations: 0 / 342.3 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.196, allocations: 107.8 kB / 342.4 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001352/0.1973, allocations: 364.3 kB / 342.8 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.1974, allocations: 16 kB / 342.8 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/0.1991, allocations: 3.529 MB / 346.3 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1991, allocations: 4.219 kB / 346.3 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007391/0.1999, allocations: 0.7875 MB / 347.1 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.1999, allocations: 47.61 kB / 347.2 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.2, allocations: 15.94 kB / 347.2 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.2001, allocations: 12 kB / 347.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.2001, allocations: 36.42 kB / 347.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.2002, allocations: 19.98 kB / 347.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001055/0.2003, allocations: 224.2 kB / 347.5 MB, free: 3.625 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2003, allocations: 0 / 347.5 MB, free: 3.625 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001652/0.2019, allocations: 431.2 kB / 347.9 MB, free: 3.203 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.00779/0.2097, allocations: 3.495 MB / 351.4 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008213/0.2105, allocations: 0.559 MB / 351.9 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2105, allocations: 1.125 kB / 351.9 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004168/0.2109, allocations: 0.5476 MB / 352.5 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007103/0.2117, allocations: 260.5 kB / 352.7 MB, free: 14.35 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.2132, allocations: 1.118 MB / 353.9 MB, free: 13.22 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.275e-05/0.2132, allocations: 140 kB / 354 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002714/0.2135, allocations: 204.1 kB / 354.2 MB, free: 12.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/0.2139, allocations: 270 kB / 354.5 MB, free: 12.59 MB / 314.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2139, allocations: 0 / 354.5 MB, free: 12.59 MB / 314.7 MB Notification: Performance of Templates: time 0.0242/0.2381, allocations: 25.69 MB / 380.2 MB, free: 3.062 MB / 330.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.137587511446327]