Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.0009093/0.0009093, allocations: 85.91 kB / 22.21 MB, free: 2.281 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.0008881/0.0008881, allocations: 157.6 kB / 25.61 MB, free: 8.574 MB / 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.924/0.924, allocations: 177 MB / 205.9 MB, free: 4.43 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.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.606e-05, allocations: 2.312 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.02139/0.02141, allocations: 25.77 MB / 299.9 MB, free: 10.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00286/0.02427, allocations: 2.666 MB / 302.6 MB, free: 7.738 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.02445, allocations: 11.88 kB / 302.6 MB, free: 7.727 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004238/0.02487, allocations: 166.9 kB / 302.7 MB, free: 7.562 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005835/0.02546, allocations: 0.5434 MB / 303.3 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01078/0.03623, allocations: 6.92 MB / 310.2 MB, free: 76 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.03735, allocations: 1.613 MB / 311.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.03754, allocations: 145.5 kB / 311.9 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005851/0.03813, allocations: 0.8303 MB / 312.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004885/0.03861, allocations: 0.5259 MB / 313.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.72e-05/0.03869, allocations: 84 kB / 313.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01032/0.04901, allocations: 8.982 MB / 322.4 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002543/0.04926, allocations: 351.1 kB / 322.7 MB, free: 3.531 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002697/0.04953, allocations: 339.4 kB / 323 MB, free: 3.199 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007224/0.05676, allocations: 6.356 MB / 329.4 MB, free: 12.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.05676, allocations: 0 / 329.4 MB, free: 12.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.05676, allocations: 0 / 329.4 MB, free: 12.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.05677, allocations: 0 / 329.4 MB, free: 12.83 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002051/0.05882, allocations: 1.575 MB / 331 MB, free: 11.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.05885, allocations: 8.031 kB / 331 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003089/0.05916, allocations: 163.6 kB / 331.1 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.05953, allocations: 378.4 kB / 331.5 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.05955, allocations: 49.25 kB / 331.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.459e-05/0.05963, allocations: 71.98 kB / 331.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007811/0.06041, allocations: 0.8219 MB / 332.5 MB, free: 9.598 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.06043, allocations: 0 / 332.5 MB, free: 9.598 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.767e-05/0.06047, allocations: 28 kB / 332.5 MB, free: 9.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.06048, allocations: 20 kB / 332.5 MB, free: 9.551 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000603/0.06109, allocations: 417.9 kB / 332.9 MB, free: 9.145 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005871/0.06696, allocations: 3.587 MB / 336.5 MB, free: 5.523 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006993/0.06766, allocations: 428.9 kB / 336.9 MB, free: 5.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.06784, allocations: 177.3 kB / 337.1 MB, free: 4.914 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004634/0.07247, allocations: 2.302 MB / 339.4 MB, free: 2.609 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.0725, allocations: 53.98 kB / 339.4 MB, free: 2.547 MB / 314.7 MB Notification: Performance of pre-optimization done (n=78): time 2.345e-06/0.0725, allocations: 0 / 339.4 MB, free: 2.547 MB / 314.7 MB Notification: Performance of matching and sorting (n=88): time 0.003747/0.07625, allocations: 1.986 MB / 341.4 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.07628, allocations: 64.41 kB / 341.5 MB, free: 456 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.07645, allocations: 320.1 kB / 341.8 MB, free: 116 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.695e-05/0.0765, allocations: 45.7 kB / 341.8 MB, free: 64 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1124/0.1889, allocations: 290.9 kB / 342.1 MB, free: 44.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.1892, allocations: 330.9 kB / 342.5 MB, free: 44.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.1894, allocations: 163.3 kB / 342.6 MB, free: 44.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.1895, allocations: 0.5342 MB / 343.1 MB, free: 43.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.1897, allocations: 126 kB / 343.3 MB, free: 43.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003983/0.1901, allocations: 285.7 kB / 343.5 MB, free: 43.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006439/0.1907, allocations: 472 kB / 344 MB, free: 43.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1907, allocations: 0 / 344 MB, free: 43.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00123/0.192, allocations: 0.7338 MB / 344.7 MB, free: 43.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.192, allocations: 6.906 kB / 344.8 MB, free: 43.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.192, allocations: 2.031 kB / 344.8 MB, free: 43.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00043/0.1924, allocations: 139.4 kB / 344.9 MB, free: 43.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/0.1929, allocations: 195.2 kB / 345.1 MB, free: 43.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.1941, allocations: 5.244 MB / 350.3 MB, free: 38.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.1943, allocations: 20.41 kB / 350.3 MB, free: 38.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.005e-05/0.1944, allocations: 36.55 kB / 350.4 MB, free: 38.04 MB / 314.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.000168/0.1945, allocations: 208 kB / 350.6 MB, free: 37.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/0.1948, allocations: 154.4 kB / 350.7 MB, free: 37.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.1959, allocations: 0.9092 MB / 351.6 MB, free: 37.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1959, allocations: 8.906 kB / 351.7 MB, free: 37.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.1959, allocations: 0.9375 kB / 351.7 MB, free: 37.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006855/0.1966, allocations: 0.9369 MB / 352.6 MB, free: 36.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.198, allocations: 1.23 MB / 353.8 MB, free: 36.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.198, allocations: 0 / 353.8 MB, free: 36.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.1984, allocations: 170.2 kB / 354 MB, free: 36.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008188/0.1992, allocations: 270.6 kB / 354.2 MB, free: 36.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/0.1992, allocations: 35.92 kB / 354.3 MB, free: 36.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002867/0.1995, allocations: 1.822 MB / 356.1 MB, free: 34.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1995, allocations: 5.891 kB / 356.1 MB, free: 34.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.2005, allocations: 0.95 MB / 357.1 MB, free: 34.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.2006, allocations: 44.81 kB / 357.1 MB, free: 34.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.142e-05/0.2006, allocations: 19.91 kB / 357.1 MB, free: 34.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.2009, allocations: 31.47 kB / 357.2 MB, free: 34.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.2009, allocations: 62.5 kB / 357.2 MB, free: 34.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.692e-05/0.201, allocations: 40.3 kB / 357.3 MB, free: 34.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.95e-05/0.2011, allocations: 228.1 kB / 357.5 MB, free: 34.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2011, allocations: 0.5312 kB / 357.5 MB, free: 34.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002439/0.2035, allocations: 1.37 MB / 358.8 MB, free: 34.36 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003051/0.2066, allocations: 1.836 MB / 360.7 MB, free: 34.15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000774/0.2073, allocations: 0.8417 MB / 361.5 MB, free: 33.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2073, allocations: 0 / 361.5 MB, free: 33.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.2077, allocations: 318.2 kB / 361.8 MB, free: 33.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008224/0.2085, allocations: 364.2 kB / 362.2 MB, free: 33.67 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.2099, allocations: 1.326 MB / 363.5 MB, free: 33.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.178e-05/0.21, allocations: 170 kB / 363.7 MB, free: 32.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003353/0.2103, allocations: 149.4 kB / 363.8 MB, free: 32.9 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005808/0.2109, allocations: 422.4 kB / 364.2 MB, free: 32.84 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2109, allocations: 0 / 364.2 MB, free: 32.84 MB / 314.7 MB Notification: Performance of Templates: time 0.04222/0.2531, allocations: 55.88 MB / 420.1 MB, free: 0.8711 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.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: 10.514894094318151]