Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.001297/0.001297, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009414/0.0009414, allocations: 166.7 kB / 24.99 MB, free: 8.793 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.033/1.033, allocations: 177.1 MB / 205.3 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3008/0.3008, allocations: 34.26 MB / 296 MB, free: 0.7734 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.[0-9,]+.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.[0-9,]+.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.965e-06/2.965e-06, allocations: 0 / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.276e-05/3.573e-05, allocations: 2.312 kB / 378 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3427/0.3428, allocations: 187.8 MB / 0.5526 GB, free: 6.656 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007429/0.3502, allocations: 7.547 MB / 0.56 GB, free: 72 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007069/0.3509, allocations: 27.75 kB / 0.56 GB, free: 44 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.352, allocations: 421.3 kB / 0.5604 GB, free: 15.63 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004842/0.3568, allocations: 2.46 MB / 0.5628 GB, free: 13.16 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004281/0.3611, allocations: 2.397 MB / 0.5651 GB, free: 10.75 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002256/0.3634, allocations: 2.234 MB / 0.5673 GB, free: 8.512 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007982/0.3642, allocations: 0.5399 MB / 0.5679 GB, free: 7.961 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003337/0.3675, allocations: 2.165 MB / 0.57 GB, free: 5.789 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.3686, allocations: 0.8494 MB / 0.5708 GB, free: 4.938 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.3688, allocations: 95.94 kB / 0.5709 GB, free: 4.844 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005981/0.3748, allocations: 4.3 MB / 0.5751 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005003/0.3753, allocations: 462.8 kB / 0.5755 GB, free: 84 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005225/0.3758, allocations: 407.2 kB / 0.5759 GB, free: 15.68 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006331/0.3821, allocations: 3.65 MB / 0.5795 GB, free: 12.02 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3821, allocations: 4 kB / 0.5795 GB, free: 12.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3821, allocations: 3.938 kB / 0.5795 GB, free: 12.02 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.197e-05/0.3822, allocations: 0 / 0.5795 GB, free: 12.02 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003221/0.3854, allocations: 1.801 MB / 0.5812 GB, free: 10.17 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.3854, allocations: 8.031 kB / 0.5813 GB, free: 10.16 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000539/0.386, allocations: 199 kB / 0.5814 GB, free: 9.969 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009288/0.3869, allocations: 0.5663 MB / 0.582 GB, free: 9.375 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.3871, allocations: 164.8 kB / 0.5822 GB, free: 9.188 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.3872, allocations: 79.98 kB / 0.5822 GB, free: 9.109 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.3885, allocations: 1.225 MB / 0.5834 GB, free: 7.707 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.3885, allocations: 3.938 kB / 0.5834 GB, free: 7.703 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.731e-05/0.3886, allocations: 28 kB / 0.5835 GB, free: 7.676 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.876e-05/0.3886, allocations: 69.95 kB / 0.5835 GB, free: 7.605 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009881/0.3896, allocations: 0.5306 MB / 0.584 GB, free: 7.074 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004102/0.3937, allocations: 3.75 MB / 0.5877 GB, free: 3.223 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009316/0.3947, allocations: 0.4894 MB / 0.5882 GB, free: 2.73 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.3949, allocations: 189.5 kB / 0.5884 GB, free: 2.543 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004522/0.3954, allocations: 212.5 kB / 0.5886 GB, free: 2.336 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.3954, allocations: 46.05 kB / 0.5886 GB, free: 2.281 MB / 458.7 MB Notification: Performance of pre-optimization done (n=70): time 2.499e-05/0.3955, allocations: 0 / 0.5886 GB, free: 2.281 MB / 458.7 MB Notification: Performance of matching and sorting (n=82): time 0.005207/0.4007, allocations: 2.411 MB / 0.591 GB, free: 15.84 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.4007, allocations: 111.5 kB / 0.5911 GB, free: 15.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004276/0.4011, allocations: 0.5414 MB / 0.5916 GB, free: 15.15 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.389e-05/0.4012, allocations: 41.7 kB / 0.5916 GB, free: 15.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.4014, allocations: 459 kB / 0.5921 GB, free: 14.65 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.4016, allocations: 305.4 kB / 0.5924 GB, free: 14.35 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/0.4019, allocations: 204.2 kB / 0.5926 GB, free: 14.14 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.4021, allocations: 0.5625 MB / 0.5931 GB, free: 13.57 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.4024, allocations: 189.9 kB / 0.5933 GB, free: 13.38 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005196/0.4029, allocations: 0.6197 MB / 0.5939 GB, free: 12.59 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.404, allocations: 0.8077 MB / 0.5947 GB, free: 11.64 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.404, allocations: 0 / 0.5947 GB, free: 11.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00145/0.4055, allocations: 0.9848 MB / 0.5956 GB, free: 10.65 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.4055, allocations: 15.94 kB / 0.5957 GB, free: 10.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.4055, allocations: 8 kB / 0.5957 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002826/0.4083, allocations: 0.9497 MB / 0.5966 GB, free: 9.672 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.4087, allocations: 159.7 kB / 0.5968 GB, free: 9.516 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.4097, allocations: 1.199 MB / 0.5979 GB, free: 8.281 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.4101, allocations: 43.98 kB / 0.598 GB, free: 8.238 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.304e-05/0.4102, allocations: 55.97 kB / 0.598 GB, free: 8.184 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.000252/0.4104, allocations: 224.3 kB / 0.5982 GB, free: 7.953 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.4106, allocations: 103.5 kB / 0.5983 GB, free: 7.852 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.4121, allocations: 1.102 MB / 0.5994 GB, free: 6.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.4121, allocations: 12 kB / 0.5994 GB, free: 6.719 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4121, allocations: 4 kB / 0.5994 GB, free: 6.715 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.4121, allocations: 3.984 kB / 0.5994 GB, free: 6.711 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.4141, allocations: 1.594 MB / 0.601 GB, free: 5.047 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.4141, allocations: 4 kB / 0.601 GB, free: 5.043 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006353/0.4148, allocations: 251.6 kB / 0.6012 GB, free: 4.797 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008031/0.4156, allocations: 247.5 kB / 0.6015 GB, free: 4.551 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/0.4156, allocations: 39.91 kB / 0.6015 GB, free: 4.512 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.4169, allocations: 2.699 MB / 0.6041 GB, free: 1.656 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.4169, allocations: 8.688 kB / 0.6041 GB, free: 1.648 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.4183, allocations: 1.108 MB / 0.6052 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.4186, allocations: 191.4 kB / 0.6054 GB, free: 312 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.279e-05/0.4187, allocations: 20 kB / 0.6054 GB, free: 292 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.419, allocations: 47.89 kB / 0.6055 GB, free: 244 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.4191, allocations: 64.83 kB / 0.6055 GB, free: 180 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.529e-05/0.4192, allocations: 47.09 kB / 0.6056 GB, free: 136 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002787/0.4195, allocations: 354.8 kB / 0.6059 GB, free: 15.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4195, allocations: 0 / 0.6059 GB, free: 15.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001601/0.4211, allocations: 0.6974 MB / 0.6066 GB, free: 15.09 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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 {1} * 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): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001353/0.4224, allocations: 0.8597 MB / 0.6074 GB, free: 14.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.4235, allocations: 0.6789 MB / 0.6081 GB, free: 13.54 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.4235, allocations: 4 kB / 0.6081 GB, free: 13.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008746/0.4244, allocations: 440.2 kB / 0.6085 GB, free: 13.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.4255, allocations: 457 kB / 0.609 GB, free: 12.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.4283, allocations: 1.741 MB / 0.6107 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.4285, allocations: 225.8 kB / 0.6109 GB, free: 10.64 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006102/0.4291, allocations: 314.2 kB / 0.6112 GB, free: 10.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.4293, allocations: 88.47 kB / 0.6113 GB, free: 10.25 MB / 490.7 MB Notification: Performance of SimCode: time 1.553e-06/0.4293, allocations: 0 / 0.6113 GB, free: 10.25 MB / 490.7 MB Notification: Performance of Templates: time 0.1672/0.5965, allocations: 31.51 MB / 0.642 GB, free: 176.8 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.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: 4.657498554093763]