Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001662/0.002773, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001466/0.002471, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.009/1.009, allocations: 173.3 MB / 185.8 MB, free: 9.004 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08441/1.093, allocations: 52.5 MB / 238.3 MB, free: 4.441 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 239.6 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.651e-05, allocations: 2.312 kB / 239.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01542/0.01543, allocations: 11.79 MB / 251.4 MB, free: 7.336 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009326/0.02476, allocations: 9.487 MB / 260.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.02495, allocations: 11.94 kB / 260.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003629/0.02532, allocations: 190.8 kB / 261 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005763/0.02589, allocations: 0.5513 MB / 261.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002786/0.02868, allocations: 1.917 MB / 263.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008194/0.0295, allocations: 1.421 MB / 264.9 MB, free: 9.715 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.02967, allocations: 127 kB / 265 MB, free: 9.586 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005255/0.0302, allocations: 0.7251 MB / 265.8 MB, free: 8.859 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.0305, allocations: 382.8 kB / 266.1 MB, free: 8.484 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.843e-05/0.03055, allocations: 52 kB / 266.2 MB, free: 8.434 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00486/0.03541, allocations: 5.446 MB / 271.6 MB, free: 2.977 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.03553, allocations: 127.5 kB / 271.8 MB, free: 2.852 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.03579, allocations: 203.8 kB / 272 MB, free: 2.652 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1121/0.1479, allocations: 4.821 MB / 276.8 MB, free: 7.992 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.051e-05/0.1479, allocations: 0 / 276.8 MB, free: 7.992 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1479, allocations: 1.156 kB / 276.8 MB, free: 7.992 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.351e-05/0.1479, allocations: 4.438 kB / 276.8 MB, free: 7.992 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.004465/0.1524, allocations: 1.629 MB / 278.4 MB, free: 7.504 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1524, allocations: 10.19 kB / 278.4 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005141/0.1529, allocations: 265.9 kB / 278.7 MB, free: 7.359 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.1533, allocations: 260.4 kB / 278.9 MB, free: 7.191 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.1533, allocations: 34.84 kB / 279 MB, free: 7.191 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.748e-05/0.1534, allocations: 55.14 kB / 279 MB, free: 7.188 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000666/0.1541, allocations: 0.678 MB / 279.7 MB, free: 6.789 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.1541, allocations: 1.25 kB / 279.7 MB, free: 6.789 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.1541, allocations: 24.22 kB / 279.7 MB, free: 6.789 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.1541, allocations: 15.45 kB / 279.8 MB, free: 6.789 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004035/0.1545, allocations: 271.6 kB / 280 MB, free: 6.777 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.002334/0.1569, allocations: 2.404 MB / 282.4 MB, free: 5.539 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004356/0.1573, allocations: 267.7 kB / 282.7 MB, free: 5.508 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.1574, allocations: 104.4 kB / 282.8 MB, free: 5.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002722/0.1577, allocations: 152.2 kB / 282.9 MB, free: 5.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.1577, allocations: 43.77 kB / 283 MB, free: 5.461 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.525e-06/0.1577, allocations: 0 / 283 MB, free: 5.461 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.00385/0.1615, allocations: 1.354 MB / 284.3 MB, free: 5.195 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.898e-05/0.1616, allocations: 63.28 kB / 284.4 MB, free: 5.133 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.1617, allocations: 261.8 kB / 284.6 MB, free: 5.012 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.1617, allocations: 37.36 kB / 284.7 MB, free: 4.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/0.1618, allocations: 216.5 kB / 284.9 MB, free: 4.824 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.422e-05/0.1618, allocations: 203.3 kB / 285.1 MB, free: 4.695 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.901e-05/0.1619, allocations: 123.4 kB / 285.2 MB, free: 4.676 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1621, allocations: 345.4 kB / 285.6 MB, free: 20.36 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.006e-05/0.1622, allocations: 66.31 kB / 285.6 MB, free: 20.36 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.1623, allocations: 220.8 kB / 285.8 MB, free: 20.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.1626, allocations: 356.3 kB / 286.2 MB, free: 20.03 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1626, allocations: 1.438 kB / 286.2 MB, free: 20.03 MB / 282.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0004524/0.163, allocations: 402 kB / 286.6 MB, free: 19.96 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.163, allocations: 5.875 kB / 286.6 MB, free: 19.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.163, allocations: 4.594 kB / 286.6 MB, free: 19.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003663/0.1667, allocations: 411.1 kB / 287 MB, free: 19.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.1671, allocations: 169.4 kB / 287.2 MB, free: 19.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.1681, allocations: 2.796 MB / 289.9 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.1683, allocations: 18.81 kB / 290 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.1683, allocations: 19.25 kB / 290 MB, free: 17.18 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.0001241/0.1684, allocations: 156.9 kB / 290.1 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.1684, allocations: 46.64 kB / 290.2 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005129/0.169, allocations: 0.6167 MB / 290.8 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.169, allocations: 10.08 kB / 290.8 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.169, allocations: 0 / 290.8 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003138/0.1693, allocations: 0.6253 MB / 291.4 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008468/0.1701, allocations: 0.9188 MB / 292.4 MB, free: 16.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.1701, allocations: 0 / 292.4 MB, free: 16.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.1704, allocations: 122 kB / 292.5 MB, free: 16.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.1704, allocations: 44.39 kB / 292.5 MB, free: 16.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.1715, allocations: 316.7 kB / 292.8 MB, free: 16.12 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.1715, allocations: 15.78 kB / 292.8 MB, free: 16.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003483/0.1719, allocations: 1.052 MB / 293.9 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1719, allocations: 0 / 293.9 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004588/0.1723, allocations: 0.6503 MB / 294.5 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.1724, allocations: 23.83 kB / 294.6 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.1725, allocations: 13.09 kB / 294.6 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.1725, allocations: 33.47 kB / 294.6 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.1725, allocations: 17.92 kB / 294.6 MB, free: 14.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.207e-05/0.1726, allocations: 104.2 kB / 294.7 MB, free: 14.81 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1726, allocations: 0 / 294.7 MB, free: 14.81 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002641/0.1753, allocations: 416.9 kB / 295.1 MB, free: 14.76 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.008239/0.1835, allocations: 3.496 MB / 298.6 MB, free: 13.08 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000615/0.1841, allocations: 466.5 kB / 299.1 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.986e-05/0.1841, allocations: 8.312 kB / 299.1 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.1844, allocations: 225.3 kB / 299.3 MB, free: 12.92 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006185/0.185, allocations: 295.1 kB / 299.6 MB, free: 12.89 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006638/0.1916, allocations: 1.121 MB / 300.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.905e-05/0.1917, allocations: 140.1 kB / 300.9 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003125/0.192, allocations: 209 kB / 301.1 MB, free: 12.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/0.1923, allocations: 222.4 kB / 301.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1923, allocations: 0.8125 kB / 301.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of Templates: time 0.02502/0.2173, allocations: 25.36 MB / 326.6 MB, free: 5.348 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.047560624778271]