Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.0009902/0.0009902, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.001005/0.001005, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 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.9501/0.9501, allocations: 177 MB / 204.8 MB, free: 5.566 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_trunk_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.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.16e-05, allocations: 5.266 kB / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1633/0.1633, allocations: 25.11 MB / 298 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002844/0.1661, allocations: 2.42 MB / 300.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002515/0.1664, allocations: 11.38 kB / 300.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005332/0.1669, allocations: 125.9 kB / 300.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006567/0.1676, allocations: 384.5 kB / 301 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01367/0.1812, allocations: 6.786 MB / 307.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.1824, allocations: 1.145 MB / 308.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.1826, allocations: 94.84 kB / 309 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00374/0.1863, allocations: 3.537 MB / 312.5 MB, free: 8.145 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003981/0.1867, allocations: 383.7 kB / 312.9 MB, free: 7.941 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.615e-05/0.1868, allocations: 56.47 kB / 313 MB, free: 7.941 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0109/0.1977, allocations: 8.95 MB / 321.9 MB, free: 116 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002815/0.198, allocations: 243.3 kB / 322.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003104/0.1983, allocations: 243.6 kB / 322.4 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.2094, allocations: 6.154 MB / 328.5 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.2094, allocations: 0 / 328.5 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.2094, allocations: 0 / 328.5 MB, free: 9.469 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.2095, allocations: 4 kB / 328.5 MB, free: 9.465 MB / 282.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.00296/0.2124, allocations: 1.38 MB / 329.9 MB, free: 8.039 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.2125, allocations: 11.98 kB / 329.9 MB, free: 8.027 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003685/0.2128, allocations: 120.5 kB / 330 MB, free: 7.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.2133, allocations: 307.8 kB / 330.3 MB, free: 7.582 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.2133, allocations: 33 kB / 330.4 MB, free: 7.551 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.194e-05/0.2134, allocations: 48 kB / 330.4 MB, free: 7.504 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009649/0.2144, allocations: 0.6511 MB / 331.1 MB, free: 6.773 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.2144, allocations: 4 kB / 331.1 MB, free: 6.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.74e-05/0.2144, allocations: 20 kB / 331.1 MB, free: 6.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.2144, allocations: 12 kB / 331.1 MB, free: 6.738 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008112/0.2152, allocations: 365.6 kB / 331.5 MB, free: 6.379 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00788/0.2231, allocations: 3.473 MB / 334.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008099/0.2239, allocations: 314.4 kB / 335.2 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.2242, allocations: 138.2 kB / 335.4 MB, free: 2.414 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006202/0.2304, allocations: 2.532 MB / 337.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.2304, allocations: 41.89 kB / 338 MB, free: 15.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 2.374e-06/0.2304, allocations: 0 / 338 MB, free: 15.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.003663/0.2341, allocations: 1.363 MB / 339.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001554/0.2342, allocations: 63.84 kB / 339.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.2344, allocations: 296.2 kB / 339.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.2345, allocations: 37.7 kB / 339.7 MB, free: 14.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.2346, allocations: 256 kB / 340 MB, free: 13.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.2348, allocations: 198.2 kB / 340.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.2349, allocations: 123.9 kB / 340.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2351, allocations: 0.5157 MB / 340.8 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.2353, allocations: 105.2 kB / 340.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.2357, allocations: 239.5 kB / 341.1 MB, free: 12.51 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007505/0.2364, allocations: 370.4 kB / 341.5 MB, free: 12.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2364, allocations: 4 kB / 341.5 MB, free: 12.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001324/0.2378, allocations: 0.5387 MB / 342 MB, free: 11.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.2378, allocations: 8.625 kB / 342 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2378, allocations: 4 kB / 342 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003394/0.2381, allocations: 95.22 kB / 342.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.2385, allocations: 115.9 kB / 342.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/0.2408, allocations: 4.396 MB / 346.6 MB, free: 6.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.2409, allocations: 12 kB / 346.7 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.849e-05/0.241, allocations: 31.98 kB / 346.7 MB, free: 6.609 MB / 298.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.0001586/0.2412, allocations: 188.5 kB / 346.9 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002855/0.2414, allocations: 99.31 kB / 347 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.2425, allocations: 0.6319 MB / 347.6 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.2425, allocations: 4 kB / 347.6 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.2425, allocations: 3.938 kB / 347.6 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007418/0.2433, allocations: 0.5715 MB / 348.2 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.2447, allocations: 0.9322 MB / 349.1 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.2447, allocations: 4 kB / 349.1 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/0.245, allocations: 95.89 kB / 349.2 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006331/0.2456, allocations: 143.5 kB / 349.4 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/0.2457, allocations: 16 kB / 349.4 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00061/0.2463, allocations: 0.9167 MB / 350.3 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2463, allocations: 3.938 kB / 350.3 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.2475, allocations: 0.6813 MB / 351 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.2475, allocations: 31.8 kB / 351 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/0.2476, allocations: 12 kB / 351 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.2478, allocations: 19.98 kB / 351 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.2479, allocations: 44.31 kB / 351.1 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.854e-05/0.2479, allocations: 27.97 kB / 351.1 MB, free: 1.953 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001588/0.2481, allocations: 225.2 kB / 351.3 MB, free: 1.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2481, allocations: 0 / 351.3 MB, free: 1.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002989/0.2511, allocations: 1.302 MB / 352.6 MB, free: 436 kB / 298.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.004286/0.2554, allocations: 1.787 MB / 354.4 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.2564, allocations: 0.6941 MB / 355.1 MB, free: 13.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2565, allocations: 3.938 kB / 355.1 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002635/0.2567, allocations: 195.1 kB / 355.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006514/0.2574, allocations: 240.7 kB / 355.5 MB, free: 13.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.2588, allocations: 0.9158 MB / 356.4 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.178e-05/0.2589, allocations: 134.9 kB / 356.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002864/0.2592, allocations: 119.3 kB / 356.7 MB, free: 12.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.2593, allocations: 56.48 kB / 356.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of SimCode: time 1.382e-06/0.2593, allocations: 0 / 356.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of Templates: time 0.04461/0.3039, allocations: 44.13 MB / 400.9 MB, free: 220 kB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.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: 8.272023354191333]