Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001554/0.001554, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001924/0.001924, allocations: 167.6 kB / 24.84 MB, free: 9.297 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.004/1.004, allocations: 158.6 MB / 186.7 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1292/0.1292, allocations: 32.37 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 348.9 MB, free: 9.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.722e-05, allocations: 4.281 kB / 348.9 MB, free: 9.141 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2848/0.2849, allocations: 146.4 MB / 495.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005282/0.2901, allocations: 5.301 MB / 0.4889 GB, free: 7.652 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004715/0.2906, allocations: 27.03 kB / 0.489 GB, free: 7.637 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005635/0.2912, allocations: 250.4 kB / 0.4892 GB, free: 7.461 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002846/0.294, allocations: 1.799 MB / 0.491 GB, free: 6.383 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.2955, allocations: 1.034 MB / 0.492 GB, free: 5.672 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001717/0.2973, allocations: 2.283 MB / 0.4942 GB, free: 4.348 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008579/0.2981, allocations: 0.5489 MB / 0.4947 GB, free: 3.934 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002159/0.3003, allocations: 1.414 MB / 0.4961 GB, free: 3.117 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008458/0.3011, allocations: 0.7802 MB / 0.4969 GB, free: 2.695 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.3013, allocations: 94.44 kB / 0.497 GB, free: 2.695 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002051/0.3033, allocations: 1.45 MB / 0.4984 GB, free: 1.703 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003149/0.3036, allocations: 462.8 kB / 0.4988 GB, free: 1.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003418/0.304, allocations: 403.2 kB / 0.4992 GB, free: 0.8555 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002294/0.3063, allocations: 1.854 MB / 0.501 GB, free: 15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3063, allocations: 0 / 0.501 GB, free: 15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3063, allocations: 0 / 0.501 GB, free: 15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.3063, allocations: 3.938 kB / 0.501 GB, free: 14.99 MB / 378.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.002095/0.3084, allocations: 1.493 MB / 0.5025 GB, free: 13.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.3084, allocations: 12.03 kB / 0.5025 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003339/0.3087, allocations: 192 kB / 0.5027 GB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000653/0.3094, allocations: 0.5592 MB / 0.5032 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.3095, allocations: 164.8 kB / 0.5034 GB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.974e-05/0.3096, allocations: 79.98 kB / 0.5035 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008979/0.3105, allocations: 1.163 MB / 0.5046 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.3105, allocations: 3.938 kB / 0.5046 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.379e-05/0.3106, allocations: 31.98 kB / 0.5046 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.084e-05/0.3106, allocations: 61.97 kB / 0.5047 GB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005768/0.3112, allocations: 465.3 kB / 0.5051 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003104/0.3143, allocations: 3.571 MB / 0.5086 GB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006472/0.315, allocations: 453.1 kB / 0.509 GB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.3152, allocations: 149.5 kB / 0.5092 GB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003844/0.3155, allocations: 222.2 kB / 0.5094 GB, free: 6.027 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.3156, allocations: 56.84 kB / 0.5095 GB, free: 5.965 MB / 378.7 MB Notification: Performance of pre-optimization done (n=70): time 2.034e-06/0.3156, allocations: 0 / 0.5095 GB, free: 5.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=82): time 0.004256/0.3198, allocations: 2.147 MB / 0.5116 GB, free: 3.781 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.3199, allocations: 111.5 kB / 0.5117 GB, free: 3.648 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/0.3202, allocations: 0.5488 MB / 0.5122 GB, free: 3.082 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.776e-05/0.3203, allocations: 45.7 kB / 0.5122 GB, free: 3.031 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.3205, allocations: 470.9 kB / 0.5127 GB, free: 2.562 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.3207, allocations: 305.4 kB / 0.513 GB, free: 2.262 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.3209, allocations: 216.4 kB / 0.5132 GB, free: 2.039 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.321, allocations: 0.5585 MB / 0.5137 GB, free: 1.469 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.3212, allocations: 158.5 kB / 0.5139 GB, free: 1.316 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.3216, allocations: 0.6032 MB / 0.5145 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006544/0.3223, allocations: 0.7638 MB / 0.5152 GB, free: 15.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3223, allocations: 4 kB / 0.5152 GB, free: 15.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001078/0.3234, allocations: 0.8907 MB / 0.5161 GB, free: 14.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.3234, allocations: 8.75 kB / 0.5161 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.3234, allocations: 8 kB / 0.5161 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002624/0.326, allocations: 0.9748 MB / 0.5171 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.3263, allocations: 159.7 kB / 0.5172 GB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008708/0.3272, allocations: 1.16 MB / 0.5183 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003835/0.3276, allocations: 39.98 kB / 0.5184 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-05/0.3277, allocations: 55.97 kB / 0.5184 GB, free: 12.27 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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.0002664/0.3279, allocations: 220.3 kB / 0.5186 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.3281, allocations: 107.5 kB / 0.5187 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.3293, allocations: 0.9823 MB / 0.5197 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.3293, allocations: 11.98 kB / 0.5197 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.3293, allocations: 7.938 kB / 0.5197 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3293, allocations: 3.984 kB / 0.5197 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.3309, allocations: 1.371 MB / 0.5211 GB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3309, allocations: 3.984 kB / 0.5211 GB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005703/0.3315, allocations: 223.8 kB / 0.5213 GB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006242/0.3321, allocations: 251.4 kB / 0.5215 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.284e-05/0.3321, allocations: 31.98 kB / 0.5216 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.3333, allocations: 2.669 MB / 0.5242 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.3333, allocations: 4 kB / 0.5242 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.3344, allocations: 0.9896 MB / 0.5251 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/0.3347, allocations: 175.3 kB / 0.5253 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.922e-05/0.3347, allocations: 24 kB / 0.5253 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003259/0.3351, allocations: 39.97 kB / 0.5254 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.902e-05/0.3351, allocations: 64.47 kB / 0.5254 GB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.607e-05/0.3352, allocations: 47.91 kB / 0.5255 GB, free: 4.777 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002041/0.3354, allocations: 334.7 kB / 0.5258 GB, free: 4.449 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3354, allocations: 0 / 0.5258 GB, free: 4.449 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001015/0.3364, allocations: 491.1 kB / 0.5263 GB, free: 3.969 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (80): * Single equations (assignments): 76 * 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.000893/0.3373, allocations: 0.5462 MB / 0.5268 GB, free: 3.422 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008622/0.3382, allocations: 0.5992 MB / 0.5274 GB, free: 2.828 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3382, allocations: 0 / 0.5274 GB, free: 2.828 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000592/0.3388, allocations: 391 kB / 0.5277 GB, free: 2.441 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.3398, allocations: 450.3 kB / 0.5282 GB, free: 2.012 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.3424, allocations: 1.694 MB / 0.5298 GB, free: 264 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.3425, allocations: 225.8 kB / 0.53 GB, free: 16 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005105/0.343, allocations: 178.9 kB / 0.5302 GB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007834/0.3438, allocations: 497.7 kB / 0.5307 GB, free: 15.35 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3438, allocations: 0 / 0.5307 GB, free: 15.35 MB / 410.7 MB Notification: Performance of Templates: time 0.02946/0.3733, allocations: 29.15 MB / 0.5592 GB, free: 2.266 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.452477230224758]