Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001876/0.001876, allocations: 111.1 kB / 20.44 MB, free: 1.051 MB / 14.72 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.001873/0.001873, allocations: 212.2 kB / 23.73 MB, free: 4.152 MB / 14.72 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.61/1.61, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2146/0.2146, allocations: 44.93 MB / 358.8 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 71.88 kB / 0.4935 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3975, allocations: 65.48 MB / 0.5575 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2391/0.6366, allocations: 168.7 MB / 0.7222 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01092/0.6476, allocations: 6.827 MB / 0.7289 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008987/0.6485, allocations: 27.75 kB / 0.7289 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.6499, allocations: 417.6 kB / 0.7293 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007168/0.6571, allocations: 2.396 MB / 0.7317 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007323/0.6644, allocations: 2.367 MB / 0.734 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3806/1.045, allocations: 2.207 MB / 0.7361 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/1.046, allocations: 0.507 MB / 0.7366 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004798/1.051, allocations: 1.878 MB / 0.7385 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00264/1.054, allocations: 0.8953 MB / 0.7393 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005073/1.054, allocations: 96.86 kB / 0.7394 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01363/1.068, allocations: 4.27 MB / 0.7436 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001557/1.069, allocations: 439.8 kB / 0.744 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002176/1.072, allocations: 464.7 kB / 0.7445 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01189/1.083, allocations: 3.68 MB / 0.7481 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.083, allocations: 0 / 0.7481 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.484e-06/1.083, allocations: 0.9375 kB / 0.7481 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.735e-05/1.084, allocations: 0 / 0.7481 GB, free: 3.664 MB / 0.5606 GB 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.006914/1.09, allocations: 1.695 MB / 0.7497 GB, free: 18.81 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/1.09, allocations: 9.062 kB / 0.7497 GB, free: 18.81 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008821/1.091, allocations: 126.4 kB / 0.7498 GB, free: 18.76 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/1.093, allocations: 0.5551 MB / 0.7504 GB, free: 18.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/1.093, allocations: 168.8 kB / 0.7505 GB, free: 18.42 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/1.094, allocations: 74.41 kB / 0.7506 GB, free: 18.42 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003144/1.097, allocations: 1.563 MB / 0.7521 GB, free: 17.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.637e-05/1.097, allocations: 7.422 kB / 0.7521 GB, free: 17.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/1.097, allocations: 31.34 kB / 0.7522 GB, free: 17.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/1.097, allocations: 60.69 kB / 0.7522 GB, free: 17.74 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/1.1, allocations: 1.152 MB / 0.7534 GB, free: 17.73 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005943/1.106, allocations: 3.668 MB / 0.7569 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/1.107, allocations: 0.7904 MB / 0.7577 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005439/1.108, allocations: 412.2 kB / 0.7581 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005928/1.108, allocations: 205.8 kB / 0.7583 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/1.108, allocations: 54.45 kB / 0.7584 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.385e-06/1.108, allocations: 0 / 0.7584 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01234/1.121, allocations: 3.925 MB / 0.7622 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/1.121, allocations: 111.9 kB / 0.7623 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006702/1.121, allocations: 0.5425 MB / 0.7628 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/1.122, allocations: 45.23 kB / 0.7629 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/1.122, allocations: 408.5 kB / 0.7633 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000198/1.122, allocations: 306.6 kB / 0.7636 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/1.122, allocations: 196.1 kB / 0.7637 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001898/1.122, allocations: 381.8 kB / 0.7641 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008951/1.123, allocations: 490.1 kB / 0.7646 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/1.124, allocations: 0.8078 MB / 0.7654 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/1.126, allocations: 1.283 MB / 0.7666 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.126, allocations: 3.281 kB / 0.7666 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003074/1.13, allocations: 1.653 MB / 0.7682 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.13, allocations: 9.812 kB / 0.7682 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/1.13, allocations: 15.38 kB / 0.7683 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006718/1.136, allocations: 1.304 MB / 0.7695 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007899/1.137, allocations: 154 kB / 0.7697 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002852/1.14, allocations: 1.529 MB / 0.7712 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/1.141, allocations: 54.7 kB / 0.7712 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/1.141, allocations: 55.59 kB / 0.7713 GB, free: 13.51 MB / 0.5762 GB 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.0005574/1.142, allocations: 295 kB / 0.7716 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/1.142, allocations: 79.47 kB / 0.7716 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00306/1.145, allocations: 1.67 MB / 0.7733 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/1.145, allocations: 8.531 kB / 0.7733 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.145, allocations: 0.625 kB / 0.7733 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/1.145, allocations: 9.094 kB / 0.7733 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004068/1.149, allocations: 2.279 MB / 0.7755 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.149, allocations: 0 / 0.7755 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/1.15, allocations: 256.1 kB / 0.7757 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001666/1.152, allocations: 387.5 kB / 0.7761 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.548e-05/1.152, allocations: 35.08 kB / 0.7762 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002595/1.155, allocations: 2.229 MB / 0.7783 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.155, allocations: 6.047 kB / 0.7783 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003652/1.158, allocations: 2.025 MB / 0.7803 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000641/1.159, allocations: 203.1 kB / 0.7805 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/1.159, allocations: 24.31 kB / 0.7805 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007645/1.16, allocations: 53.23 kB / 0.7806 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/1.16, allocations: 64.67 kB / 0.7806 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.815e-05/1.16, allocations: 50.92 kB / 0.7807 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004817/1.161, allocations: 387.7 kB / 0.7811 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/1.161, allocations: 0 / 0.7811 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002185/1.163, allocations: 0.693 MB / 0.7817 GB, free: 10.58 MB / 0.5762 GB 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.001984/1.165, allocations: 0.8092 MB / 0.7825 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002538/1.167, allocations: 1.194 MB / 0.7837 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.167, allocations: 0 / 0.7837 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001636/1.169, allocations: 0.6904 MB / 0.7844 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/1.171, allocations: 434.7 kB / 0.7848 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004538/1.175, allocations: 2.154 MB / 0.7869 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/1.176, allocations: 457.8 kB / 0.7873 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001067/1.177, allocations: 345.3 kB / 0.7877 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/1.177, allocations: 91.23 kB / 0.7877 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/1.177, allocations: 0 / 0.7877 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of Templates: time 0.05069/1.228, allocations: 32.67 MB / 0.8196 GB, free: 4.73 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",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.773140190169215]