Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.0009659/0.0009659, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001095/0.001095, allocations: 174 kB / 25.61 MB, free: 8.867 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 0.9701/0.9701, allocations: 177.1 MB / 206.1 MB, free: 4.492 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.1444/0.1444, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.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.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.638e-05, allocations: 6.312 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2781/0.2781, allocations: 146 MB / 0.513 GB, free: 16.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003011/0.2812, allocations: 2.574 MB / 0.5155 GB, free: 16.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003835/0.2815, allocations: 26.59 kB / 0.5155 GB, free: 16.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000469/0.282, allocations: 217.2 kB / 0.5157 GB, free: 16.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.2837, allocations: 1.088 MB / 0.5168 GB, free: 16.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.2849, allocations: 0.8346 MB / 0.5176 GB, free: 16.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001574/0.2864, allocations: 1.906 MB / 0.5194 GB, free: 16.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005927/0.287, allocations: 418.8 kB / 0.5198 GB, free: 16.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.2885, allocations: 1.137 MB / 0.521 GB, free: 16.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006926/0.2892, allocations: 0.598 MB / 0.5215 GB, free: 16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.2893, allocations: 60.53 kB / 0.5216 GB, free: 16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006859/0.29, allocations: 449.5 kB / 0.522 GB, free: 15.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001909/0.2901, allocations: 287.2 kB / 0.5223 GB, free: 15.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002445/0.2904, allocations: 283.9 kB / 0.5226 GB, free: 15.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.2914, allocations: 0.9939 MB / 0.5235 GB, free: 15.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2914, allocations: 0 / 0.5235 GB, free: 15.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2914, allocations: 3.375 kB / 0.5235 GB, free: 15.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.2914, allocations: 0 / 0.5235 GB, free: 15.81 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001272/0.2927, allocations: 1.121 MB / 0.5246 GB, free: 15.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.2928, allocations: 9.125 kB / 0.5246 GB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005406/0.2933, allocations: 217.2 kB / 0.5249 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.2938, allocations: 488.5 kB / 0.5253 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.547e-05/0.2939, allocations: 155.5 kB / 0.5255 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.784e-05/0.2939, allocations: 57.91 kB / 0.5255 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005318/0.2945, allocations: 0.9395 MB / 0.5264 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.2945, allocations: 4.75 kB / 0.5264 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.627e-05/0.2945, allocations: 23.5 kB / 0.5265 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/0.2946, allocations: 37.22 kB / 0.5265 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.2949, allocations: 264.2 kB / 0.5268 GB, free: 14 MB / 410.7 MB 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.002067/0.297, allocations: 3.764 MB / 0.5304 GB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.2972, allocations: 207 kB / 0.5306 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.231e-05/0.2973, allocations: 72.97 kB / 0.5307 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.99e-05/0.2973, allocations: 21.8 kB / 0.5307 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.2974, allocations: 43.58 kB / 0.5308 GB, free: 11.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.463e-06/0.2974, allocations: 0 / 0.5308 GB, free: 11.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002284/0.2996, allocations: 0.9908 MB / 0.5317 GB, free: 10.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.2997, allocations: 137 kB / 0.5319 GB, free: 10.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.3, allocations: 0.5503 MB / 0.5324 GB, free: 10.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.3, allocations: 32.2 kB / 0.5324 GB, free: 10.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.3001, allocations: 441 kB / 0.5328 GB, free: 9.965 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.561e-05/0.3002, allocations: 150.5 kB / 0.533 GB, free: 9.875 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.3004, allocations: 167.5 kB / 0.5331 GB, free: 9.844 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.257e-05/0.3005, allocations: 0.5493 MB / 0.5337 GB, free: 9.352 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.3006, allocations: 77.03 kB / 0.5338 GB, free: 9.348 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.3008, allocations: 0.6289 MB / 0.5344 GB, free: 8.641 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/0.3012, allocations: 0.6736 MB / 0.535 GB, free: 8.043 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3012, allocations: 6.844 kB / 0.535 GB, free: 8.039 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006725/0.3019, allocations: 0.6251 MB / 0.5356 GB, free: 7.941 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3019, allocations: 9.969 kB / 0.5357 GB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.3019, allocations: 10.72 kB / 0.5357 GB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006088/0.3025, allocations: 247.5 kB / 0.5359 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.3027, allocations: 125.5 kB / 0.536 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004558/0.3032, allocations: 0.9916 MB / 0.537 GB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.3034, allocations: 23.69 kB / 0.537 GB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/0.3035, allocations: 55.92 kB / 0.5371 GB, free: 7.113 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (70): * Single equations (assignments): 69 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.3036, allocations: 214.8 kB / 0.5373 GB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.091e-05/0.3037, allocations: 77.38 kB / 0.5373 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007113/0.3044, allocations: 0.6668 MB / 0.538 GB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.3044, allocations: 5.562 kB / 0.538 GB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.3044, allocations: 0 / 0.538 GB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3044, allocations: 5.203 kB / 0.538 GB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008096/0.3053, allocations: 0.8215 MB / 0.5388 GB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3053, allocations: 8.297 kB / 0.5388 GB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000475/0.3057, allocations: 167.9 kB / 0.539 GB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.916e-05/0.3058, allocations: 28.48 kB / 0.539 GB, free: 6.402 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.3058, allocations: 19.61 kB / 0.539 GB, free: 6.402 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008353/0.3067, allocations: 3.515 MB / 0.5425 GB, free: 2.891 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3067, allocations: 1.5 kB / 0.5425 GB, free: 2.891 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004667/0.3071, allocations: 0.5714 MB / 0.543 GB, free: 2.574 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.3072, allocations: 96.97 kB / 0.5431 GB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.131e-05/0.3073, allocations: 9.766 kB / 0.5431 GB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.3075, allocations: 14.47 kB / 0.5431 GB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.3075, allocations: 40.52 kB / 0.5432 GB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/0.3076, allocations: 35.23 kB / 0.5432 GB, free: 2.535 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001822/0.3078, allocations: 324.1 kB / 0.5435 GB, free: 2.406 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3078, allocations: 0 / 0.5435 GB, free: 2.406 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005952/0.3084, allocations: 249.6 kB / 0.5438 GB, free: 2.395 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003969/0.3087, allocations: 260.5 kB / 0.544 GB, free: 2.281 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004593/0.3092, allocations: 358.3 kB / 0.5443 GB, free: 2.254 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3092, allocations: 2.875 kB / 0.5443 GB, free: 2.254 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.3096, allocations: 360.8 kB / 0.5447 GB, free: 2.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007548/0.3104, allocations: 326.1 kB / 0.545 GB, free: 2.027 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.3117, allocations: 1.164 MB / 0.5461 GB, free: 1.383 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.324e-05/0.3118, allocations: 165.3 kB / 0.5463 GB, free: 1.309 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004864/0.3123, allocations: 361.4 kB / 0.5466 GB, free: 1.215 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004981/0.3128, allocations: 383.5 kB / 0.547 GB, free: 1.055 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.3128, allocations: 0 / 0.547 GB, free: 1.055 MB / 410.7 MB Notification: Performance of Templates: time 0.01709/0.3299, allocations: 16.78 MB / 0.5634 GB, free: 5.898 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.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: 3.787873668130487]