Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.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.001212/0.001212, allocations: 95.5 kB / 20.92 MB, free: 3.66 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.001317/0.001317, allocations: 168.5 kB / 24.22 MB, free: 372 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.9409/0.9409, allocations: 177 MB / 204.4 MB, free: 5.641 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.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 272.1 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.665e-05, allocations: 2.312 kB / 272.1 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.13/0.13, allocations: 27.39 MB / 299.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01628/0.1463, allocations: 24.95 MB / 324.5 MB, free: 13 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002393/0.1465, allocations: 8.75 kB / 324.5 MB, free: 13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006583/0.1472, allocations: 267.1 kB / 324.8 MB, free: 12.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006162/0.1478, allocations: 397.3 kB / 325.1 MB, free: 12.35 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007945/0.1557, allocations: 4.192 MB / 329.3 MB, free: 8.156 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008074/0.1565, allocations: 0.9539 MB / 330.3 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.1567, allocations: 86.78 kB / 330.4 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005697/0.1573, allocations: 0.5103 MB / 330.9 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.1575, allocations: 272.7 kB / 331.1 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.085e-05/0.1576, allocations: 43.94 kB / 331.2 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0102/0.1678, allocations: 10.17 MB / 341.4 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.1679, allocations: 120.4 kB / 341.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.168, allocations: 163.7 kB / 341.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01511/0.1832, allocations: 11.81 MB / 353.4 MB, free: 0 / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1832, allocations: 0 / 353.4 MB, free: 0 / 298.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1832, allocations: 0.8125 kB / 353.4 MB, free: 0 / 298.7 MB Notification: Performance of Transformations before backend: time 6.882e-06/0.1832, allocations: 0 / 353.4 MB, free: 0 / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.004767/0.1879, allocations: 1.202 MB / 354.6 MB, free: 14.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.188, allocations: 12.8 kB / 354.7 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004386/0.1884, allocations: 139.1 kB / 354.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.1887, allocations: 269 kB / 355.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.1887, allocations: 29.47 kB / 355.1 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.381e-05/0.1888, allocations: 32 kB / 355.1 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005437/0.1893, allocations: 0.5374 MB / 355.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1893, allocations: 4.719 kB / 355.7 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.1894, allocations: 19.94 kB / 355.7 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.1894, allocations: 12.8 kB / 355.7 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003643/0.1898, allocations: 248.4 kB / 355.9 MB, free: 13.36 MB / 314.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.002123/0.1919, allocations: 2.591 MB / 358.5 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.1923, allocations: 223.8 kB / 358.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.1924, allocations: 84.66 kB / 358.8 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006103/0.193, allocations: 403.6 kB / 359.2 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.193, allocations: 38.14 kB / 359.3 MB, free: 9.926 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.333e-06/0.193, allocations: 0 / 359.3 MB, free: 9.926 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.002956/0.196, allocations: 1.003 MB / 360.3 MB, free: 8.879 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.196, allocations: 55.41 kB / 360.3 MB, free: 8.812 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.1962, allocations: 286.5 kB / 360.6 MB, free: 8.516 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.1962, allocations: 33.7 kB / 360.6 MB, free: 8.477 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/0.1965, allocations: 243 kB / 360.9 MB, free: 8.234 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.1966, allocations: 123 kB / 361 MB, free: 8.113 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/0.1967, allocations: 91.8 kB / 361.1 MB, free: 8.016 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1968, allocations: 0.504 MB / 361.6 MB, free: 7.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.275e-05/0.1969, allocations: 68.89 kB / 361.6 MB, free: 7.434 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.1971, allocations: 227.9 kB / 361.9 MB, free: 7.148 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.1974, allocations: 329.5 kB / 362.2 MB, free: 6.762 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1974, allocations: 3.938 kB / 362.2 MB, free: 6.758 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005215/0.1979, allocations: 384.3 kB / 362.6 MB, free: 6.367 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1979, allocations: 19.17 kB / 362.6 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1979, allocations: 8 kB / 362.6 MB, free: 6.344 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002801/0.2007, allocations: 235.1 kB / 362.8 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.2009, allocations: 87.89 kB / 362.9 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.2019, allocations: 2.537 MB / 365.4 MB, free: 3.324 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.202, allocations: 19.62 kB / 365.5 MB, free: 3.309 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.2021, allocations: 19.92 kB / 365.5 MB, free: 3.289 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001109/0.2022, allocations: 184.5 kB / 365.7 MB, free: 3.098 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.2023, allocations: 55.62 kB / 365.7 MB, free: 3.043 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000524/0.2028, allocations: 490.2 kB / 366.2 MB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.2028, allocations: 11.98 kB / 366.2 MB, free: 2.547 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.2028, allocations: 4.094 kB / 366.2 MB, free: 2.543 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004165/0.2032, allocations: 0.6564 MB / 366.9 MB, free: 1.797 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007763/0.204, allocations: 0.8504 MB / 367.7 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.204, allocations: 0 / 367.7 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.2042, allocations: 67.89 kB / 367.8 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009839/0.2051, allocations: 163.3 kB / 367.9 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.2052, allocations: 15.92 kB / 368 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002716/0.2054, allocations: 0.796 MB / 368.8 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2054, allocations: 0 / 368.8 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005426/0.206, allocations: 0.5744 MB / 369.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.961e-05/0.206, allocations: 31.69 kB / 369.4 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.206, allocations: 15.94 kB / 369.4 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.87e-05/0.2061, allocations: 8.094 kB / 369.4 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.2061, allocations: 23.95 kB / 369.4 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.2062, allocations: 15.98 kB / 369.4 MB, free: 15.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000125/0.2063, allocations: 217.1 kB / 369.6 MB, free: 14.92 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2063, allocations: 0 / 369.6 MB, free: 14.92 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003081/0.2094, allocations: 0.7481 MB / 370.4 MB, free: 14.17 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01482/0.2242, allocations: 6.52 MB / 376.9 MB, free: 7.637 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005853/0.2248, allocations: 437.8 kB / 377.3 MB, free: 7.191 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2248, allocations: 0 / 377.3 MB, free: 7.191 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.225, allocations: 153 kB / 377.5 MB, free: 7.035 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005382/0.2255, allocations: 167.9 kB / 377.6 MB, free: 6.879 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.2267, allocations: 0.7811 MB / 378.4 MB, free: 6.062 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.405e-05/0.2268, allocations: 111 kB / 378.5 MB, free: 5.938 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002404/0.227, allocations: 184 kB / 378.7 MB, free: 5.754 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.2271, allocations: 36.5 kB / 378.8 MB, free: 5.719 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2271, allocations: 0 / 378.8 MB, free: 5.719 MB / 330.7 MB Notification: Performance of Templates: time 0.02538/0.2525, allocations: 28.92 MB / 407.7 MB, free: 8.891 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.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.582973273936659]