Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.0009634/0.0009634, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0009104/0.0009104, allocations: 160.4 kB / 25.45 MB, free: 9.352 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 0.8254/0.8254, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.627e-05, allocations: 2.281 kB / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02262/0.02265, allocations: 24.38 MB / 324.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003148/0.02579, allocations: 3.754 MB / 327.9 MB, free: 10.65 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.02595, allocations: 7.938 kB / 327.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006273/0.02657, allocations: 190.7 kB / 328 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004601/0.02703, allocations: 361.7 kB / 328.4 MB, free: 10.1 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002989/0.03002, allocations: 1.496 MB / 329.9 MB, free: 8.598 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005812/0.0306, allocations: 0.9022 MB / 330.8 MB, free: 7.691 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.03076, allocations: 68.75 kB / 330.9 MB, free: 7.625 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003731/0.03449, allocations: 4.283 MB / 335.1 MB, free: 3.336 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.03473, allocations: 251.2 kB / 335.4 MB, free: 3.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.03476, allocations: 32 kB / 335.4 MB, free: 3.059 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007609/0.03552, allocations: 0.7022 MB / 336.1 MB, free: 2.355 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.203e-05/0.03561, allocations: 103.6 kB / 336.2 MB, free: 2.254 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.03572, allocations: 147.7 kB / 336.4 MB, free: 2.109 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007998/0.03652, allocations: 0.9586 MB / 337.3 MB, free: 1.148 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.03652, allocations: 4 kB / 337.3 MB, free: 1.145 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.03652, allocations: 0 / 337.3 MB, free: 1.145 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.03653, allocations: 4 kB / 337.3 MB, free: 1.141 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006521/0.03718, allocations: 0.5789 MB / 337.9 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.03722, allocations: 19.92 kB / 337.9 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002662/0.03749, allocations: 52.73 kB / 338 MB, free: 468 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.03783, allocations: 237.2 kB / 338.2 MB, free: 204 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.03785, allocations: 21.03 kB / 338.2 MB, free: 184 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.03788, allocations: 32.38 kB / 338.3 MB, free: 152 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000545/0.03843, allocations: 490.4 kB / 338.8 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.03845, allocations: 4.125 kB / 338.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.03848, allocations: 16.12 kB / 338.8 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.03849, allocations: 8 kB / 338.8 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/0.03871, allocations: 209.8 kB / 339 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005561/0.04427, allocations: 4.079 MB / 343.1 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.0445, allocations: 174.6 kB / 343.2 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.961e-05/0.04459, allocations: 84.83 kB / 343.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004432/0.04902, allocations: 2.668 MB / 346 MB, free: 8.277 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.04905, allocations: 38.56 kB / 346 MB, free: 8.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.04905, allocations: 0 / 346 MB, free: 8.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.00312/0.05217, allocations: 1.268 MB / 347.3 MB, free: 6.922 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.0522, allocations: 55.41 kB / 347.3 MB, free: 6.855 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.05236, allocations: 232 kB / 347.6 MB, free: 6.621 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.05238, allocations: 33.7 kB / 347.6 MB, free: 6.582 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.39e-05/0.05247, allocations: 192.3 kB / 347.8 MB, free: 6.387 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/0.05252, allocations: 99.16 kB / 347.9 MB, free: 6.289 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/0.05258, allocations: 69.47 kB / 348 MB, free: 6.215 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.867e-05/0.05266, allocations: 330.8 kB / 348.3 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.05276, allocations: 95.97 kB / 348.4 MB, free: 5.789 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.05291, allocations: 190.9 kB / 348.6 MB, free: 5.562 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.05317, allocations: 295 kB / 348.8 MB, free: 5.234 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.05317, allocations: 0 / 348.8 MB, free: 5.234 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004302/0.0536, allocations: 402.8 kB / 349.2 MB, free: 4.828 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.05362, allocations: 8.312 kB / 349.2 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.05363, allocations: 8 kB / 349.3 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001835/0.05546, allocations: 0.93 MB / 350.2 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.05561, allocations: 75.84 kB / 350.3 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009721/0.05658, allocations: 1.844 MB / 352.1 MB, free: 1.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.027e-05/0.05666, allocations: 11.94 kB / 352.1 MB, free: 1.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.05668, allocations: 19.98 kB / 352.1 MB, free: 1.797 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.05679, allocations: 161.6 kB / 352.3 MB, free: 1.629 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.05682, allocations: 27.86 kB / 352.3 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004514/0.05728, allocations: 489.8 kB / 352.8 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.05728, allocations: 15.92 kB / 352.8 MB, free: 1.098 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.05729, allocations: 0 / 352.8 MB, free: 1.098 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000563/0.05785, allocations: 0.7238 MB / 353.5 MB, free: 292 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1353/0.1932, allocations: 0.8391 MB / 354.4 MB, free: 64.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1932, allocations: 1.719 kB / 354.4 MB, free: 64.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.1933, allocations: 44.95 kB / 354.4 MB, free: 64.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008582/0.1942, allocations: 316 kB / 354.7 MB, free: 64.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.1942, allocations: 11.69 kB / 354.7 MB, free: 64.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000269/0.1945, allocations: 0.6448 MB / 355.4 MB, free: 64.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1945, allocations: 0 / 355.4 MB, free: 64.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005756/0.195, allocations: 0.7366 MB / 356.1 MB, free: 63.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.1951, allocations: 23.12 kB / 356.1 MB, free: 63.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.1951, allocations: 7.203 kB / 356.2 MB, free: 63.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.131e-05/0.1952, allocations: 8.375 kB / 356.2 MB, free: 63.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.1952, allocations: 21.12 kB / 356.2 MB, free: 63.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.1952, allocations: 14.66 kB / 356.2 MB, free: 63.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.06e-05/0.1953, allocations: 162 kB / 356.4 MB, free: 63.72 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1953, allocations: 1.188 kB / 356.4 MB, free: 63.72 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004903/0.1958, allocations: 186.5 kB / 356.5 MB, free: 63.71 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004085/0.1962, allocations: 288.1 kB / 356.8 MB, free: 63.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005221/0.1968, allocations: 435.6 kB / 357.2 MB, free: 63.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1968, allocations: 1.062 kB / 357.2 MB, free: 63.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002819/0.197, allocations: 233.8 kB / 357.5 MB, free: 63.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.1975, allocations: 133.4 kB / 357.6 MB, free: 63.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008095/0.1983, allocations: 0.753 MB / 358.4 MB, free: 62.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.1984, allocations: 171.9 kB / 358.5 MB, free: 62.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.1985, allocations: 34.02 kB / 358.6 MB, free: 62.81 MB / 330.7 MB Notification: Performance of SimCode: time 6.22e-07/0.1985, allocations: 0 / 358.6 MB, free: 62.81 MB / 330.7 MB Notification: Performance of Templates: time 0.006986/0.2055, allocations: 8.328 MB / 366.9 MB, free: 59.84 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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: 5.1910821832716465]