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.001567/0.001567, allocations: 80.98 kB / 20.65 MB, free: 3.84 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.001739/0.001739, allocations: 177 kB / 24.06 MB, free: 452 kB / 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 0.9024/0.9024, allocations: 158.6 MB / 185.9 MB, free: 2.812 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.1282/0.1282, allocations: 32.36 MB / 270.7 MB, free: 14.55 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 1.653e-06/1.653e-06, allocations: 0 / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.627e-05, allocations: 6.25 kB / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3285/0.3286, allocations: 146.4 MB / 494.6 MB, free: 9.324 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006023/0.3346, allocations: 5.309 MB / 499.9 MB, free: 7.664 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005602/0.3351, allocations: 26.88 kB / 499.9 MB, free: 7.648 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006097/0.3358, allocations: 242.7 kB / 0.4884 GB, free: 7.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003357/0.3391, allocations: 1.802 MB / 0.4902 GB, free: 6.395 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.3409, allocations: 1.032 MB / 0.4912 GB, free: 5.684 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002316/0.3432, allocations: 2.286 MB / 0.4934 GB, free: 4.355 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008363/0.3441, allocations: 0.5414 MB / 0.494 GB, free: 3.949 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.3462, allocations: 1.414 MB / 0.4953 GB, free: 3.133 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.3473, allocations: 0.7852 MB / 0.4961 GB, free: 2.707 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000171/0.3474, allocations: 90.78 kB / 0.4962 GB, free: 2.707 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002294/0.3497, allocations: 1.451 MB / 0.4976 GB, free: 1.738 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003654/0.3501, allocations: 466.8 kB / 0.4981 GB, free: 1.281 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004277/0.3505, allocations: 407.2 kB / 0.4985 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003352/0.3539, allocations: 1.85 MB / 0.5003 GB, free: 15.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3539, allocations: 0 / 0.5003 GB, free: 15.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3539, allocations: 4 kB / 0.5003 GB, free: 15.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.715e-05/0.3539, allocations: 0 / 0.5003 GB, free: 15.02 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.002767/0.3567, allocations: 1.497 MB / 0.5017 GB, free: 13.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3567, allocations: 8.031 kB / 0.5017 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004573/0.3572, allocations: 192.1 kB / 0.5019 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008345/0.358, allocations: 0.5592 MB / 0.5025 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.3581, allocations: 172.8 kB / 0.5026 GB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.3583, allocations: 72 kB / 0.5027 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.3595, allocations: 1.17 MB / 0.5038 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.3595, allocations: 0 / 0.5038 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.608e-05/0.3596, allocations: 32 kB / 0.5039 GB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.483e-05/0.3596, allocations: 57.95 kB / 0.5039 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007531/0.3604, allocations: 473.3 kB / 0.5044 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004155/0.3645, allocations: 3.564 MB / 0.5079 GB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007997/0.3653, allocations: 453 kB / 0.5083 GB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.3656, allocations: 161.5 kB / 0.5084 GB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004393/0.366, allocations: 230.2 kB / 0.5087 GB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.366, allocations: 53.97 kB / 0.5087 GB, free: 5.988 MB / 378.7 MB Notification: Performance of pre-optimization done (n=70): time 2.524e-06/0.366, allocations: 0 / 0.5087 GB, free: 5.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=82): time 0.006439/0.3725, allocations: 2.372 MB / 0.511 GB, free: 3.578 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.3725, allocations: 111.5 kB / 0.5111 GB, free: 3.445 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/0.373, allocations: 0.5527 MB / 0.5117 GB, free: 2.875 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.764e-05/0.3731, allocations: 45.64 kB / 0.5117 GB, free: 2.824 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.3734, allocations: 462.9 kB / 0.5122 GB, free: 2.363 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/0.3736, allocations: 313.4 kB / 0.5125 GB, free: 2.055 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002826/0.3739, allocations: 216.4 kB / 0.5127 GB, free: 1.832 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004519/0.3743, allocations: 0.5663 MB / 0.5132 GB, free: 1.254 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.3746, allocations: 146.5 kB / 0.5134 GB, free: 1.113 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005063/0.3751, allocations: 0.6071 MB / 0.514 GB, free: 336 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000888/0.376, allocations: 0.7598 MB / 0.5147 GB, free: 15.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.376, allocations: 4 kB / 0.5147 GB, free: 15.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001433/0.3774, allocations: 0.8946 MB / 0.5156 GB, free: 14.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.3774, allocations: 8 kB / 0.5156 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.3775, allocations: 8 kB / 0.5156 GB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003368/0.3808, allocations: 0.9714 MB / 0.5165 GB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/0.3813, allocations: 159.7 kB / 0.5167 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.3824, allocations: 1.156 MB / 0.5178 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005423/0.3829, allocations: 47.97 kB / 0.5179 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.273e-05/0.383, allocations: 51.98 kB / 0.5179 GB, free: 12.07 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.00031/0.3833, allocations: 220.3 kB / 0.5181 GB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.3835, allocations: 107.5 kB / 0.5182 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.3858, allocations: 1.203 MB / 0.5194 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.527e-05/0.3858, allocations: 8 kB / 0.5194 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3858, allocations: 4 kB / 0.5194 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.3859, allocations: 3.984 kB / 0.5194 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003243/0.3891, allocations: 1.605 MB / 0.521 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.3891, allocations: 4 kB / 0.521 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005652/0.3897, allocations: 231.9 kB / 0.5212 GB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001098/0.3908, allocations: 443.1 kB / 0.5216 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.336e-05/0.3908, allocations: 35.97 kB / 0.5217 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002907/0.3938, allocations: 4.286 MB / 0.5258 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.3938, allocations: 7.922 kB / 0.5259 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.3959, allocations: 1.2 MB / 0.527 GB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/0.3963, allocations: 179.3 kB / 0.5272 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.61e-05/0.3963, allocations: 24 kB / 0.5272 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/0.3967, allocations: 39.97 kB / 0.5273 GB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.3968, allocations: 72.41 kB / 0.5273 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.809e-05/0.3968, allocations: 47.91 kB / 0.5274 GB, free: 1.996 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002266/0.3971, allocations: 334.6 kB / 0.5277 GB, free: 1.668 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3971, allocations: 0 / 0.5277 GB, free: 1.668 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001101/0.3982, allocations: 499.1 kB / 0.5282 GB, free: 1.18 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): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009379/0.3991, allocations: 0.5371 MB / 0.5287 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009353/0.4, allocations: 0.6114 MB / 0.5293 GB, free: 36 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4, allocations: 0 / 0.5293 GB, free: 36 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007345/0.4008, allocations: 0.5665 MB / 0.5298 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.4018, allocations: 467.8 kB / 0.5303 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.4045, allocations: 1.694 MB / 0.5319 GB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/0.4047, allocations: 225.9 kB / 0.5322 GB, free: 13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000501/0.4052, allocations: 174.9 kB / 0.5323 GB, free: 12.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007647/0.4059, allocations: 493.7 kB / 0.5328 GB, free: 12.34 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.4059, allocations: 4 kB / 0.5328 GB, free: 12.34 MB / 410.7 MB Notification: Performance of Templates: time 0.03449/0.4404, allocations: 29.54 MB / 0.5617 GB, free: 14.85 MB / 442.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.417867756914347]