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.0009585/0.0009585, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009537/0.0009537, allocations: 160.5 kB / 24.56 MB, free: 16 kB / 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.9018/0.9018, allocations: 177 MB / 204.8 MB, free: 5.574 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.643e-06/1.643e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.87e-05, allocations: 5.266 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01053/0.01056, allocations: 11.82 MB / 284.7 MB, free: 5.562 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.105/0.1156, allocations: 9.438 MB / 294.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002844/0.1159, allocations: 10.62 kB / 294.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005118/0.1164, allocations: 185 kB / 294.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007985/0.1172, allocations: 0.5554 MB / 294.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00401/0.1212, allocations: 2.013 MB / 296.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001313/0.1225, allocations: 1.413 MB / 298.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.1227, allocations: 119.6 kB / 298.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008269/0.1235, allocations: 0.705 MB / 299.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005166/0.1241, allocations: 401 kB / 299.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.161e-05/0.1241, allocations: 55 kB / 299.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006093/0.1302, allocations: 5.349 MB / 305 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.1304, allocations: 163 kB / 305.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002744/0.1307, allocations: 243.6 kB / 305.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007242/0.1379, allocations: 5.043 MB / 310.4 MB, free: 9.785 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1379, allocations: 0 / 310.4 MB, free: 9.785 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1379, allocations: 0 / 310.4 MB, free: 9.785 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1379, allocations: 4 kB / 310.4 MB, free: 9.781 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.002178/0.1401, allocations: 1.005 MB / 311.4 MB, free: 8.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1401, allocations: 15.98 kB / 311.4 MB, free: 8.734 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004869/0.1406, allocations: 192.5 kB / 311.6 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.1409, allocations: 311.4 kB / 311.9 MB, free: 8.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.1409, allocations: 37 kB / 312 MB, free: 8.191 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.734e-05/0.141, allocations: 55.89 kB / 312 MB, free: 8.137 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006228/0.1416, allocations: 0.7281 MB / 312.7 MB, free: 7.301 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.1416, allocations: 0 / 312.7 MB, free: 7.301 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.1417, allocations: 29.66 kB / 312.8 MB, free: 7.273 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.1417, allocations: 12 kB / 312.8 MB, free: 7.262 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/0.1422, allocations: 343.2 kB / 313.1 MB, free: 6.93 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.002017/0.1442, allocations: 3.232 MB / 316.4 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.1447, allocations: 326.3 kB / 316.7 MB, free: 3.301 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.1448, allocations: 128.4 kB / 316.8 MB, free: 3.172 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002779/0.1451, allocations: 158.2 kB / 317 MB, free: 3.023 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.1451, allocations: 41.77 kB / 317 MB, free: 2.973 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.324e-06/0.1451, allocations: 0 / 317 MB, free: 2.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.007598/0.1527, allocations: 1.565 MB / 318.6 MB, free: 1.371 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.1527, allocations: 63.91 kB / 318.6 MB, free: 1.297 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.153, allocations: 320.1 kB / 318.9 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.153, allocations: 33.7 kB / 319 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.1531, allocations: 289.5 kB / 319.2 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.1532, allocations: 199 kB / 319.4 MB, free: 456 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.1534, allocations: 123.9 kB / 319.6 MB, free: 324 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1535, allocations: 0.5157 MB / 320.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.1537, allocations: 109.2 kB / 320.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/0.1541, allocations: 315.9 kB / 320.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006334/0.1547, allocations: 466.5 kB / 321 MB, free: 14.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.1547, allocations: 4.75 kB / 321 MB, free: 14.76 MB / 282.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001169/0.1559, allocations: 0.5739 MB / 321.5 MB, free: 14.17 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.1559, allocations: 8.906 kB / 321.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.1559, allocations: 4 kB / 321.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008945/0.1649, allocations: 457.1 kB / 322 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005501/0.1654, allocations: 147.1 kB / 322.1 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/0.1676, allocations: 4.238 MB / 326.4 MB, free: 9.113 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.168, allocations: 15.98 kB / 326.4 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/0.168, allocations: 33.34 kB / 326.4 MB, free: 9.066 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 (volume1.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.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.0002345/0.1682, allocations: 185.8 kB / 326.6 MB, free: 8.875 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/0.1685, allocations: 83.47 kB / 326.7 MB, free: 8.793 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.1699, allocations: 0.734 MB / 327.4 MB, free: 8.043 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.1699, allocations: 8 kB / 327.4 MB, free: 8.035 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1699, allocations: 0.6094 kB / 327.4 MB, free: 8.035 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008098/0.1707, allocations: 0.7605 MB / 328.2 MB, free: 7.199 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.1724, allocations: 1.223 MB / 329.4 MB, free: 5.945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.1724, allocations: 0 / 329.4 MB, free: 5.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/0.1728, allocations: 105.2 kB / 329.5 MB, free: 5.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00217/0.1749, allocations: 318.7 kB / 329.8 MB, free: 5.531 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/0.175, allocations: 15.98 kB / 329.8 MB, free: 5.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006816/0.1757, allocations: 1.593 MB / 331.4 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1757, allocations: 1.344 kB / 331.4 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009827/0.1767, allocations: 0.8291 MB / 332.3 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.341e-05/0.1767, allocations: 57 kB / 332.3 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.1768, allocations: 12 kB / 332.3 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.1769, allocations: 12 kB / 332.3 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.177, allocations: 32.44 kB / 332.4 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.177, allocations: 21.67 kB / 332.4 MB, free: 2.871 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001493/0.1771, allocations: 243 kB / 332.6 MB, free: 2.637 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1771, allocations: 0 / 332.6 MB, free: 2.637 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001751/0.1789, allocations: 427.1 kB / 333 MB, free: 2.219 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.00818/0.1871, allocations: 3.48 MB / 336.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.1881, allocations: 0.5971 MB / 337.1 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1882, allocations: 4.812 kB / 337.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003622/0.1885, allocations: 273.5 kB / 337.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008101/0.1893, allocations: 238.1 kB / 337.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.191, allocations: 1.14 MB / 338.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.988e-05/0.1911, allocations: 136 kB / 338.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003131/0.1914, allocations: 217.3 kB / 339.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.778e-05/0.1915, allocations: 44.5 kB / 339.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of SimCode: time 1.623e-06/0.1915, allocations: 8 kB / 339.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of Templates: time 0.02579/0.2172, allocations: 25.31 MB / 364.5 MB, free: 3.055 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.1397904879413545]