Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.002523/0.002523, allocations: 103.5 kB / 21.73 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.002819/0.002819, allocations: 166.3 kB / 25.03 MB, free: 8.941 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.335/1.335, allocations: 158.6 MB / 186.8 MB, free: 2.914 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.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.314e-05, allocations: 2.312 kB / 250.4 MB, free: 7.816 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.07281/0.07284, allocations: 51.26 MB / 301.6 MB, free: 4.375 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007939/0.08077, allocations: 5.25 MB / 306.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.08097, allocations: 7.938 kB / 306.9 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008027/0.08177, allocations: 230.5 kB / 307.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007391/0.08251, allocations: 389.5 kB / 307.5 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01846/0.101, allocations: 6.871 MB / 314.4 MB, free: 7.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001757/0.1027, allocations: 1.099 MB / 315.5 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.103, allocations: 97.77 kB / 315.6 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008022/0.111, allocations: 3.774 MB / 319.3 MB, free: 2.613 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006877/0.1117, allocations: 371 kB / 319.7 MB, free: 2.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.1118, allocations: 60 kB / 319.8 MB, free: 2.191 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01856/0.1303, allocations: 9.215 MB / 329 MB, free: 8.961 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004209/0.1308, allocations: 251.4 kB / 329.2 MB, free: 8.715 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004684/0.1312, allocations: 239.6 kB / 329.5 MB, free: 8.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01559/0.1468, allocations: 6.668 MB / 336.1 MB, free: 1.797 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1468, allocations: 0 / 336.1 MB, free: 1.797 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1468, allocations: 3.938 kB / 336.1 MB, free: 1.793 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.1468, allocations: 0 / 336.1 MB, free: 1.793 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003624/0.1505, allocations: 1.442 MB / 337.6 MB, free: 316 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1505, allocations: 11.98 kB / 337.6 MB, free: 304 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004367/0.1509, allocations: 115.5 kB / 337.7 MB, free: 188 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006272/0.1516, allocations: 307.1 kB / 338 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.192e-05/0.1516, allocations: 29 kB / 338 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.1517, allocations: 52 kB / 338.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.1531, allocations: 0.7136 MB / 338.8 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.1531, allocations: 4 kB / 338.8 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.093e-05/0.1532, allocations: 20 kB / 338.8 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.1532, allocations: 12 kB / 338.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.1545, allocations: 491.6 kB / 339.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/0.1683, allocations: 3.656 MB / 343 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.1695, allocations: 393.5 kB / 343.3 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003474/0.1699, allocations: 173.1 kB / 343.5 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01203/0.1819, allocations: 2.594 MB / 346.1 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/0.182, allocations: 41.89 kB / 346.1 MB, free: 7.555 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 2.134e-06/0.182, allocations: 0 / 346.1 MB, free: 7.555 MB / 330.7 MB Notification: Performance of matching and sorting (n=55): time 0.005586/0.1875, allocations: 1.585 MB / 347.7 MB, free: 5.922 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.1876, allocations: 63.84 kB / 347.8 MB, free: 5.848 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/0.188, allocations: 332.2 kB / 348.1 MB, free: 5.508 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.76e-05/0.1881, allocations: 37.7 kB / 348.2 MB, free: 5.465 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.1883, allocations: 256.1 kB / 348.4 MB, free: 5.207 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.1885, allocations: 222.2 kB / 348.6 MB, free: 4.988 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/0.1887, allocations: 139.9 kB / 348.8 MB, free: 4.844 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003211/0.1891, allocations: 0.5313 MB / 349.3 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/0.1894, allocations: 161.2 kB / 349.4 MB, free: 4.141 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006657/0.1901, allocations: 307.5 kB / 349.7 MB, free: 3.797 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.1913, allocations: 498.4 kB / 350.2 MB, free: 3.262 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.1913, allocations: 8 kB / 350.2 MB, free: 3.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001868/0.1931, allocations: 0.6481 MB / 350.9 MB, free: 2.586 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1932, allocations: 8 kB / 350.9 MB, free: 2.578 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.1932, allocations: 3.984 kB / 350.9 MB, free: 2.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004909/0.1937, allocations: 107.2 kB / 351 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005546/0.1942, allocations: 123.9 kB / 351.1 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1076/0.3018, allocations: 4.465 MB / 355.6 MB, free: 104 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.3022, allocations: 16.06 kB / 355.6 MB, free: 104 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.3023, allocations: 33.66 kB / 355.6 MB, free: 104 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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 {2} * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000264/0.3025, allocations: 209.3 kB / 355.8 MB, free: 103.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004095/0.303, allocations: 96.39 kB / 355.9 MB, free: 103.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.3045, allocations: 0.7834 MB / 356.7 MB, free: 103.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.3045, allocations: 8.938 kB / 356.7 MB, free: 103.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.3045, allocations: 4.703 kB / 356.7 MB, free: 103.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008924/0.3054, allocations: 0.6497 MB / 357.4 MB, free: 103.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.3071, allocations: 1.098 MB / 358.5 MB, free: 102.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.3071, allocations: 0 / 358.5 MB, free: 102.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.3075, allocations: 99.48 kB / 358.6 MB, free: 102.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000854/0.3083, allocations: 145.7 kB / 358.7 MB, free: 102.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/0.3084, allocations: 19.48 kB / 358.7 MB, free: 102.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002624/0.3086, allocations: 0.9369 MB / 359.7 MB, free: 101.9 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3086, allocations: 0 / 359.7 MB, free: 101.9 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.31, allocations: 0.8368 MB / 360.5 MB, free: 101.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.31, allocations: 38.52 kB / 360.6 MB, free: 101.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.343e-05/0.3101, allocations: 8.531 kB / 360.6 MB, free: 101.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.3105, allocations: 26.95 kB / 360.6 MB, free: 101.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.3105, allocations: 38.2 kB / 360.6 MB, free: 101.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-05/0.3106, allocations: 37.12 kB / 360.7 MB, free: 101.4 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001593/0.3108, allocations: 241 kB / 360.9 MB, free: 101.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3108, allocations: 3.828 kB / 360.9 MB, free: 101.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002903/0.3137, allocations: 1.321 MB / 362.2 MB, free: 101.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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 {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004399/0.3181, allocations: 1.877 MB / 364.1 MB, free: 100.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.3192, allocations: 0.7952 MB / 364.9 MB, free: 99.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3192, allocations: 4 kB / 364.9 MB, free: 99.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000426/0.3196, allocations: 248.4 kB / 365.1 MB, free: 99.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.3208, allocations: 246.8 kB / 365.4 MB, free: 99.39 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.3223, allocations: 0.9641 MB / 366.3 MB, free: 98.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.3225, allocations: 228.3 kB / 366.6 MB, free: 98.36 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004002/0.3229, allocations: 115.4 kB / 366.7 MB, free: 98.28 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.323, allocations: 59.72 kB / 366.7 MB, free: 98.23 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.323, allocations: 0 / 366.7 MB, free: 98.23 MB / 330.7 MB Notification: Performance of Templates: time 0.04777/0.3708, allocations: 46.52 MB / 413.3 MB, free: 51.83 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 12.692503315047361]