Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 103.5 kB / 21.74 MB, free: 2.688 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 158.3 kB / 25.03 MB, free: 8.93 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.173e-05/3.372e-05, allocations: 2.312 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03849/0.03853, allocations: 27.24 MB / 277.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.03631/0.07484, allocations: 24.9 MB / 302.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005158/0.07536, allocations: 7.938 kB / 302.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.07644, allocations: 274.2 kB / 302.8 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009184/0.07735, allocations: 393.4 kB / 303.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01374/0.09109, allocations: 4.179 MB / 307.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001601/0.0927, allocations: 0.9538 MB / 308.3 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.09293, allocations: 81.22 kB / 308.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009201/0.09385, allocations: 0.5258 MB / 308.9 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004693/0.09432, allocations: 275.2 kB / 309.2 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.392e-05/0.09439, allocations: 36 kB / 309.2 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02342/0.1178, allocations: 10.16 MB / 319.4 MB, free: 2.598 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002988/0.1181, allocations: 107.6 kB / 319.5 MB, free: 2.492 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004089/0.1185, allocations: 175.7 kB / 319.6 MB, free: 2.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03936/0.1579, allocations: 11.99 MB / 331.6 MB, free: 6.312 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1579, allocations: 0 / 331.6 MB, free: 6.312 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1579, allocations: 0 / 331.6 MB, free: 6.312 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1579, allocations: 3.938 kB / 331.6 MB, free: 6.309 MB / 314.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.006996/0.1649, allocations: 1.228 MB / 332.9 MB, free: 5.035 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.1649, allocations: 11.98 kB / 332.9 MB, free: 5.023 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007323/0.1657, allocations: 143.1 kB / 333 MB, free: 4.883 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005055/0.1662, allocations: 263.5 kB / 333.3 MB, free: 4.598 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.1662, allocations: 28.66 kB / 333.3 MB, free: 4.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.309e-05/0.1663, allocations: 36 kB / 333.3 MB, free: 4.535 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.1674, allocations: 0.6194 MB / 334 MB, free: 3.832 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.1674, allocations: 0 / 334 MB, free: 3.832 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.797e-05/0.1674, allocations: 15.94 kB / 334 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.1675, allocations: 11.94 kB / 334 MB, free: 3.805 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007686/0.1682, allocations: 334.3 kB / 334.3 MB, free: 3.477 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.004597/0.1728, allocations: 2.716 MB / 337 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007387/0.1736, allocations: 295.2 kB / 337.3 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.1738, allocations: 123.6 kB / 337.4 MB, free: 256 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/0.1751, allocations: 407.6 kB / 337.8 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.1752, allocations: 33.89 kB / 337.9 MB, free: 15.81 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 2.084e-06/0.1752, allocations: 4 kB / 337.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.005438/0.1806, allocations: 1.184 MB / 339.1 MB, free: 14.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.1807, allocations: 55.41 kB / 339.1 MB, free: 14.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/0.181, allocations: 318.5 kB / 339.4 MB, free: 14.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.1811, allocations: 33.7 kB / 339.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.1813, allocations: 243.1 kB / 339.7 MB, free: 13.9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.1814, allocations: 146.8 kB / 339.8 MB, free: 13.76 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.1816, allocations: 99.84 kB / 339.9 MB, free: 13.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003056/0.1819, allocations: 0.5274 MB / 340.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.1821, allocations: 105 kB / 340.6 MB, free: 13.01 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/0.1825, allocations: 287.9 kB / 340.9 MB, free: 12.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000672/0.1832, allocations: 430.8 kB / 341.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.1832, allocations: 4 kB / 341.3 MB, free: 12.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009902/0.1842, allocations: 480.5 kB / 341.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.1842, allocations: 8 kB / 341.8 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.1842, allocations: 4 kB / 341.8 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00491/0.1891, allocations: 235.1 kB / 342 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.1896, allocations: 95.77 kB / 342.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002509/0.1921, allocations: 2.618 MB / 344.7 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/0.1923, allocations: 15.94 kB / 344.7 MB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.1924, allocations: 23.98 kB / 344.7 MB, free: 8.523 MB / 330.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.0002754/0.1926, allocations: 200.5 kB / 344.9 MB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.1928, allocations: 35.86 kB / 345 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.1938, allocations: 0.5626 MB / 345.5 MB, free: 7.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.1939, allocations: 7.984 kB / 345.5 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.1939, allocations: 0 / 345.5 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008965/0.1948, allocations: 0.7034 MB / 346.2 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.1964, allocations: 0.9906 MB / 347.2 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.1964, allocations: 0 / 347.2 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.1966, allocations: 63.89 kB / 347.3 MB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001644/0.1983, allocations: 171.4 kB / 347.5 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/0.1983, allocations: 12.05 kB / 347.5 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006342/0.199, allocations: 0.8273 MB / 348.3 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.199, allocations: 4 kB / 348.3 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.2001, allocations: 0.6958 MB / 349 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.996e-05/0.2002, allocations: 27.75 kB / 349 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.228e-05/0.2003, allocations: 16.05 kB / 349 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.2005, allocations: 4 kB / 349 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.2005, allocations: 27.95 kB / 349.1 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/0.2006, allocations: 15.98 kB / 349.1 MB, free: 3.945 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003047/0.2009, allocations: 241.1 kB / 349.3 MB, free: 3.711 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2009, allocations: 0 / 349.3 MB, free: 3.711 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00538/0.2062, allocations: 0.748 MB / 350.1 MB, free: 2.961 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.1453/0.3516, allocations: 6.499 MB / 356.6 MB, free: 98.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009302/0.3525, allocations: 0.5142 MB / 357.1 MB, free: 98.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.3525, allocations: 4.5 kB / 357.1 MB, free: 98.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003328/0.3528, allocations: 193.4 kB / 357.3 MB, free: 98.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.3538, allocations: 175.2 kB / 357.5 MB, free: 98.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.3551, allocations: 0.8114 MB / 358.3 MB, free: 97.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.3552, allocations: 208.8 kB / 358.5 MB, free: 97.9 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003072/0.3555, allocations: 187.2 kB / 358.6 MB, free: 97.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.462e-05/0.3556, allocations: 41.09 kB / 358.7 MB, free: 97.88 MB / 330.7 MB Notification: Performance of SimCode: time 1.644e-06/0.3556, allocations: 0 / 358.7 MB, free: 97.88 MB / 330.7 MB Notification: Performance of Templates: time 0.03235/0.388, allocations: 28.86 MB / 387.6 MB, free: 70.38 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.715575815993361]