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.001209/0.001209, allocations: 77.92 kB / 22.21 MB, free: 2.293 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.001187/0.001187, allocations: 155 kB / 25.61 MB, free: 8.613 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.8891/0.8891, allocations: 177 MB / 205.9 MB, free: 4.438 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.252e-06/1.252e-06, allocations: 0 / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.856e-05, allocations: 2.312 kB / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.02057/0.02059, allocations: 24.79 MB / 298.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.02287, allocations: 2.389 MB / 301.3 MB, free: 9.008 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.02302, allocations: 7.938 kB / 301.3 MB, free: 9 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004309/0.02345, allocations: 127.1 kB / 301.4 MB, free: 8.875 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004484/0.0239, allocations: 393.5 kB / 301.8 MB, free: 8.488 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01151/0.0354, allocations: 6.782 MB / 308.6 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009931/0.0364, allocations: 1.146 MB / 309.7 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.03657, allocations: 93.81 kB / 309.8 MB, free: 448 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004044/0.04061, allocations: 3.549 MB / 313.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003696/0.04098, allocations: 375 kB / 313.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.869e-05/0.04104, allocations: 56 kB / 313.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01124/0.05228, allocations: 8.959 MB / 322.8 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.05254, allocations: 239.4 kB / 323 MB, free: 3.254 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002985/0.05284, allocations: 239.5 kB / 323.2 MB, free: 3.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00974/0.06258, allocations: 6.15 MB / 329.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.06258, allocations: 0 / 329.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.06258, allocations: 0 / 329.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.06259, allocations: 4 kB / 329.4 MB, free: 12.85 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.002183/0.06477, allocations: 1.388 MB / 330.8 MB, free: 11.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.0648, allocations: 12.03 kB / 330.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002605/0.06506, allocations: 116.1 kB / 330.9 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.06536, allocations: 295.9 kB / 331.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.06539, allocations: 37 kB / 331.2 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/0.06544, allocations: 44 kB / 331.3 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005971/0.06604, allocations: 0.6082 MB / 331.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.06605, allocations: 4 kB / 331.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.06609, allocations: 16 kB / 331.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.06609, allocations: 15.98 kB / 331.9 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004521/0.06655, allocations: 302.6 kB / 332.2 MB, free: 9.883 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005829/0.07238, allocations: 3.2 MB / 335.4 MB, free: 6.652 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.07289, allocations: 296.4 kB / 335.7 MB, free: 6.355 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.073, allocations: 101.1 kB / 335.8 MB, free: 6.254 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004325/0.07733, allocations: 2.297 MB / 338.1 MB, free: 3.953 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.07736, allocations: 41.89 kB / 338.1 MB, free: 3.898 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 1.893e-06/0.07736, allocations: 4 kB / 338.1 MB, free: 3.895 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.002514/0.07988, allocations: 1.222 MB / 339.4 MB, free: 2.629 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.0799, allocations: 59.91 kB / 339.4 MB, free: 2.559 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.08007, allocations: 292.1 kB / 339.7 MB, free: 2.254 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.08011, allocations: 37.7 kB / 339.7 MB, free: 2.211 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.08022, allocations: 268 kB / 340 MB, free: 1.941 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003508/0.08057, allocations: 198.2 kB / 340.2 MB, free: 1.746 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.08069, allocations: 119.9 kB / 340.3 MB, free: 1.621 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.08081, allocations: 0.5195 MB / 340.8 MB, free: 1.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.08092, allocations: 73.25 kB / 340.9 MB, free: 1.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.08118, allocations: 219.5 kB / 341.1 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/0.08162, allocations: 342.3 kB / 341.4 MB, free: 396 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.08163, allocations: 0 / 341.4 MB, free: 396 kB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.1147/0.1963, allocations: 498 kB / 341.9 MB, free: 43.81 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.1963, allocations: 7.031 kB / 341.9 MB, free: 43.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.1963, allocations: 2.406 kB / 341.9 MB, free: 43.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000321/0.1967, allocations: 87.61 kB / 342 MB, free: 43.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/0.1971, allocations: 125.5 kB / 342.1 MB, free: 43.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.1983, allocations: 4.342 MB / 346.5 MB, free: 39.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.1985, allocations: 19.2 kB / 346.5 MB, free: 39.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/0.1986, allocations: 26.7 kB / 346.5 MB, free: 39.49 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 (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.0001665/0.1987, allocations: 188.2 kB / 346.7 MB, free: 39.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.199, allocations: 96.89 kB / 346.8 MB, free: 39.33 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007702/0.1997, allocations: 0.5957 MB / 347.4 MB, free: 39.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1997, allocations: 5.188 kB / 347.4 MB, free: 39.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.1998, allocations: 3.938 kB / 347.4 MB, free: 39.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004621/0.2002, allocations: 0.5323 MB / 348 MB, free: 38.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009864/0.2012, allocations: 0.837 MB / 348.8 MB, free: 38.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2012, allocations: 1.281 kB / 348.8 MB, free: 38.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.2015, allocations: 102 kB / 348.9 MB, free: 38.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004788/0.2019, allocations: 142.1 kB / 349 MB, free: 38.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.609e-05/0.202, allocations: 17.05 kB / 349 MB, free: 38.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001665/0.2021, allocations: 0.918 MB / 350 MB, free: 37.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.2021, allocations: 0.6094 kB / 350 MB, free: 37.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007983/0.2029, allocations: 0.6424 MB / 350.6 MB, free: 37.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.203, allocations: 32.27 kB / 350.6 MB, free: 37.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.203, allocations: 14.06 kB / 350.7 MB, free: 37.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.2032, allocations: 20.33 kB / 350.7 MB, free: 37.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.2032, allocations: 36.53 kB / 350.7 MB, free: 37.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.2033, allocations: 23.62 kB / 350.7 MB, free: 37.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.307e-05/0.2034, allocations: 207.8 kB / 350.9 MB, free: 37.22 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2034, allocations: 2.344 kB / 350.9 MB, free: 37.22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002696/0.2061, allocations: 1.304 MB / 352.2 MB, free: 37.22 MB / 314.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.003678/0.2098, allocations: 1.827 MB / 354.1 MB, free: 37.13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006897/0.2104, allocations: 0.6518 MB / 354.7 MB, free: 36.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2104, allocations: 0 / 354.7 MB, free: 36.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.2107, allocations: 179.5 kB / 354.9 MB, free: 36.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006787/0.2113, allocations: 244 kB / 355.1 MB, free: 36.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.2126, allocations: 0.905 MB / 356 MB, free: 36.28 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.101e-05/0.2127, allocations: 128.7 kB / 356.2 MB, free: 36.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002861/0.2129, allocations: 106.1 kB / 356.3 MB, free: 36.17 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004535/0.2134, allocations: 317.9 kB / 356.6 MB, free: 36.11 MB / 314.7 MB Notification: Performance of SimCode: time 1.663e-06/0.2134, allocations: 0 / 356.6 MB, free: 36.11 MB / 314.7 MB Notification: Performance of Templates: time 0.03983/0.2532, allocations: 50.68 MB / 407.3 MB, free: 12.43 MB / 330.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: 7.537336573936045]