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.00129/0.00129, 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.004572/0.004572, allocations: 166.7 kB / 24.99 MB, free: 8.801 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.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2941/0.2941, allocations: 32.81 MB / 294.6 MB, free: 1.297 MB / 266.7 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.[0-9,]+.|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.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 376 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.894e-05/3.037e-05, allocations: 10.31 kB / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3314/0.3315, allocations: 187.8 MB / 0.5506 GB, free: 8.992 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0109/0.3424, allocations: 7.556 MB / 0.558 GB, free: 3.195 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.3435, allocations: 27.25 kB / 0.558 GB, free: 3.18 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.3448, allocations: 422.6 kB / 0.5584 GB, free: 2.84 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006939/0.3518, allocations: 2.452 MB / 0.5608 GB, free: 384 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004914/0.3567, allocations: 2.41 MB / 0.5632 GB, free: 13.96 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002308/0.359, allocations: 2.223 MB / 0.5653 GB, free: 11.73 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008102/0.3598, allocations: 0.5411 MB / 0.5659 GB, free: 11.18 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003353/0.3631, allocations: 2.157 MB / 0.568 GB, free: 9.012 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.3643, allocations: 0.8533 MB / 0.5688 GB, free: 8.156 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.3645, allocations: 92 kB / 0.5689 GB, free: 8.066 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006337/0.3708, allocations: 4.307 MB / 0.5731 GB, free: 3.75 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004971/0.3713, allocations: 466.8 kB / 0.5736 GB, free: 3.293 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005686/0.3719, allocations: 403.2 kB / 0.5739 GB, free: 2.898 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007318/0.3792, allocations: 3.646 MB / 0.5775 GB, free: 15.24 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3792, allocations: 0 / 0.5775 GB, free: 15.24 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.3792, allocations: 3.984 kB / 0.5775 GB, free: 15.24 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.52e-05/0.3793, allocations: 0 / 0.5775 GB, free: 15.24 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.004231/0.3835, allocations: 1.805 MB / 0.5793 GB, free: 13.39 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.3835, allocations: 12.03 kB / 0.5793 GB, free: 13.38 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005539/0.3841, allocations: 195 kB / 0.5795 GB, free: 13.19 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007705/0.3849, allocations: 0.5586 MB / 0.58 GB, free: 12.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.385, allocations: 176.7 kB / 0.5802 GB, free: 12.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.3851, allocations: 80 kB / 0.5803 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.3863, allocations: 1.229 MB / 0.5815 GB, free: 10.92 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.3863, allocations: 3.938 kB / 0.5815 GB, free: 10.91 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-05/0.3864, allocations: 28 kB / 0.5815 GB, free: 10.89 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.678e-05/0.3865, allocations: 57.97 kB / 0.5815 GB, free: 10.83 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009027/0.3874, allocations: 0.5423 MB / 0.5821 GB, free: 10.29 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003769/0.3912, allocations: 3.745 MB / 0.5857 GB, free: 6.438 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009053/0.3921, allocations: 498.2 kB / 0.5862 GB, free: 5.945 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/0.3923, allocations: 185.6 kB / 0.5864 GB, free: 5.762 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004398/0.3928, allocations: 216.5 kB / 0.5866 GB, free: 5.551 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.3928, allocations: 46.05 kB / 0.5866 GB, free: 5.496 MB / 458.7 MB Notification: Performance of pre-optimization done (n=70): time 2.655e-06/0.3928, allocations: 4 kB / 0.5866 GB, free: 5.492 MB / 458.7 MB Notification: Performance of matching and sorting (n=82): time 0.005233/0.398, allocations: 2.398 MB / 0.589 GB, free: 3.074 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.3981, allocations: 115.5 kB / 0.5891 GB, free: 2.934 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004836/0.3986, allocations: 0.5414 MB / 0.5896 GB, free: 2.375 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.507e-05/0.3987, allocations: 45.7 kB / 0.5897 GB, free: 2.324 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.3989, allocations: 455 kB / 0.5901 GB, free: 1.871 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/0.3991, allocations: 309.4 kB / 0.5904 GB, free: 1.566 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.3994, allocations: 204.2 kB / 0.5906 GB, free: 1.359 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3995, allocations: 0.5586 MB / 0.5911 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003417/0.3999, allocations: 189.9 kB / 0.5913 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.4004, allocations: 0.6197 MB / 0.5919 GB, free: 15.81 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009222/0.4013, allocations: 0.8077 MB / 0.5927 GB, free: 14.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.4013, allocations: 0 / 0.5927 GB, free: 14.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001438/0.4028, allocations: 0.9768 MB / 0.5937 GB, free: 13.88 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.4028, allocations: 11.94 kB / 0.5937 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.4028, allocations: 11.62 kB / 0.5937 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002897/0.4057, allocations: 0.9747 MB / 0.5946 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.406, allocations: 159.7 kB / 0.5948 GB, free: 12.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.4071, allocations: 1.191 MB / 0.5959 GB, free: 11.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.4075, allocations: 43.98 kB / 0.596 GB, free: 11.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-05/0.4076, allocations: 55.97 kB / 0.596 GB, free: 11.4 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.0002475/0.4078, allocations: 224.2 kB / 0.5963 GB, free: 11.17 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.408, allocations: 103.5 kB / 0.5964 GB, free: 11.07 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.4096, allocations: 1.101 MB / 0.5974 GB, free: 9.949 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.4096, allocations: 8 kB / 0.5974 GB, free: 9.941 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4096, allocations: 4 kB / 0.5974 GB, free: 9.938 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.4096, allocations: 7.969 kB / 0.5974 GB, free: 9.93 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.4116, allocations: 1.602 MB / 0.599 GB, free: 8.258 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4116, allocations: 0 / 0.599 GB, free: 8.258 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000656/0.4123, allocations: 255.9 kB / 0.5993 GB, free: 8.008 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006814/0.413, allocations: 243.3 kB / 0.5995 GB, free: 7.766 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.845e-05/0.4131, allocations: 35.92 kB / 0.5995 GB, free: 7.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.4144, allocations: 2.699 MB / 0.6022 GB, free: 4.875 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4144, allocations: 4.75 kB / 0.6022 GB, free: 4.871 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.4158, allocations: 1.116 MB / 0.6033 GB, free: 3.707 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002852/0.4161, allocations: 195.4 kB / 0.6034 GB, free: 3.516 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-05/0.4162, allocations: 20 kB / 0.6035 GB, free: 3.496 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/0.4166, allocations: 43.91 kB / 0.6035 GB, free: 3.453 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.4167, allocations: 68.88 kB / 0.6036 GB, free: 3.387 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.891e-05/0.4167, allocations: 47.09 kB / 0.6036 GB, free: 3.344 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002706/0.417, allocations: 358.6 kB / 0.604 GB, free: 2.996 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/0.417, allocations: 0 / 0.604 GB, free: 2.996 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001669/0.4187, allocations: 0.6935 MB / 0.6046 GB, free: 2.301 MB / 474.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.001404/0.4201, allocations: 0.85 MB / 0.6055 GB, free: 1.445 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.4212, allocations: 0.6901 MB / 0.6061 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.4212, allocations: 5.312 kB / 0.6061 GB, free: 0.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000725/0.422, allocations: 439.5 kB / 0.6066 GB, free: 324 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.4231, allocations: 443.4 kB / 0.607 GB, free: 15.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.426, allocations: 1.743 MB / 0.6087 GB, free: 14.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.4262, allocations: 229.8 kB / 0.6089 GB, free: 13.86 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006652/0.4269, allocations: 321.5 kB / 0.6092 GB, free: 13.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.4271, allocations: 84.48 kB / 0.6093 GB, free: 13.47 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/0.4271, allocations: 0 / 0.6093 GB, free: 13.47 MB / 490.7 MB Notification: Performance of Templates: time 0.1754/0.6025, allocations: 31.51 MB / 0.6401 GB, free: 179.8 MB / 490.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] 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","",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.714574384968728]