Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001217/0.001217, allocations: 81.95 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.001417/0.001417, allocations: 167.2 kB / 24.84 MB, free: 8.91 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.01/1.01, allocations: 158.6 MB / 186.7 MB, free: 2.777 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.1321/0.1321, allocations: 32.38 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.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.491e-05, allocations: 2.312 kB / 348.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2902/0.2903, allocations: 144.2 MB / 493.2 MB, free: 9.758 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005874/0.2961, allocations: 4.98 MB / 498.2 MB, free: 8.688 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005322/0.2967, allocations: 30.81 kB / 498.2 MB, free: 8.668 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005651/0.2972, allocations: 210.7 kB / 498.4 MB, free: 8.523 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002196/0.2994, allocations: 1.14 MB / 499.5 MB, free: 7.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.3009, allocations: 0.8518 MB / 0.4887 GB, free: 7.516 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001958/0.3029, allocations: 1.899 MB / 0.4905 GB, free: 6.414 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007021/0.3036, allocations: 433.6 kB / 0.4909 GB, free: 6.098 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/0.3051, allocations: 1.128 MB / 0.492 GB, free: 5.438 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007199/0.3058, allocations: 0.5947 MB / 0.4926 GB, free: 5.121 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.3059, allocations: 60.59 kB / 0.4927 GB, free: 5.121 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009514/0.3068, allocations: 481.2 kB / 0.4931 GB, free: 4.914 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.307, allocations: 280.1 kB / 0.4934 GB, free: 4.723 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.3073, allocations: 287.2 kB / 0.4937 GB, free: 4.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.3084, allocations: 1.003 MB / 0.4946 GB, free: 3.988 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3084, allocations: 0 / 0.4946 GB, free: 3.988 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3084, allocations: 0 / 0.4946 GB, free: 3.988 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.3084, allocations: 2.188 kB / 0.4946 GB, free: 3.988 MB / 362.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.001339/0.3097, allocations: 1.142 MB / 0.4958 GB, free: 3.102 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3097, allocations: 8.75 kB / 0.4958 GB, free: 3.102 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005361/0.3103, allocations: 216.6 kB / 0.496 GB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005414/0.3108, allocations: 480.7 kB / 0.4964 GB, free: 2.637 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.432e-05/0.3109, allocations: 160.1 kB / 0.4966 GB, free: 2.484 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-05/0.311, allocations: 54.84 kB / 0.4966 GB, free: 2.469 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006377/0.3116, allocations: 0.9667 MB / 0.4976 GB, free: 1.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.3117, allocations: 3.188 kB / 0.4976 GB, free: 1.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.564e-05/0.3117, allocations: 27.75 kB / 0.4976 GB, free: 1.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.717e-05/0.3117, allocations: 36.83 kB / 0.4976 GB, free: 1.473 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003266/0.3121, allocations: 254.6 kB / 0.4979 GB, free: 1.383 MB / 362.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.0026/0.3147, allocations: 3.791 MB / 0.5016 GB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.3149, allocations: 196.2 kB / 0.5018 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.539e-05/0.315, allocations: 76.19 kB / 0.5018 GB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002083/0.3152, allocations: 126.2 kB / 0.502 GB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.3152, allocations: 41.67 kB / 0.502 GB, free: 13.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.304e-06/0.3152, allocations: 0 / 0.502 GB, free: 13.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.002294/0.3175, allocations: 0.9939 MB / 0.503 GB, free: 12.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.3176, allocations: 136.5 kB / 0.5031 GB, free: 12.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.3179, allocations: 0.5449 MB / 0.5036 GB, free: 11.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.318, allocations: 33.7 kB / 0.5037 GB, free: 11.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.3182, allocations: 442.8 kB / 0.5041 GB, free: 10.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.92e-05/0.3182, allocations: 150.7 kB / 0.5042 GB, free: 10.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.3184, allocations: 168.1 kB / 0.5044 GB, free: 10.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3185, allocations: 0.5585 MB / 0.5049 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.3186, allocations: 73.88 kB / 0.505 GB, free: 10.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/0.3189, allocations: 0.6298 MB / 0.5056 GB, free: 9.148 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.3194, allocations: 0.6575 MB / 0.5063 GB, free: 8.289 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3194, allocations: 4 kB / 0.5063 GB, free: 8.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006424/0.32, allocations: 0.6212 MB / 0.5069 GB, free: 7.652 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.3201, allocations: 15.94 kB / 0.5069 GB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.3201, allocations: 8 kB / 0.5069 GB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006256/0.3207, allocations: 262.3 kB / 0.5072 GB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.3209, allocations: 123.8 kB / 0.5073 GB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005609/0.3215, allocations: 0.9871 MB / 0.5082 GB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.3217, allocations: 24 kB / 0.5083 GB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-05/0.3218, allocations: 59.98 kB / 0.5083 GB, free: 6.152 MB / 378.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.0001672/0.3219, allocations: 208.3 kB / 0.5085 GB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.471e-05/0.322, allocations: 71.62 kB / 0.5086 GB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006159/0.3226, allocations: 482.9 kB / 0.509 GB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3226, allocations: 11.94 kB / 0.5091 GB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3226, allocations: 0 / 0.5091 GB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3226, allocations: 0 / 0.5091 GB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.3237, allocations: 0.9165 MB / 0.51 GB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3237, allocations: 0 / 0.51 GB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004463/0.3241, allocations: 167.8 kB / 0.5101 GB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.453e-05/0.3242, allocations: 35.78 kB / 0.5101 GB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.3242, allocations: 12 kB / 0.5102 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.3255, allocations: 3.515 MB / 0.5136 GB, free: 448 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3255, allocations: 0 / 0.5136 GB, free: 448 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005076/0.3261, allocations: 0.5502 MB / 0.5141 GB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.3262, allocations: 103.5 kB / 0.5142 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.3262, allocations: 12 kB / 0.5142 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.3264, allocations: 16.14 kB / 0.5143 GB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.696e-05/0.3265, allocations: 39.89 kB / 0.5143 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.3265, allocations: 31.98 kB / 0.5143 GB, free: 15.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001839/0.3267, allocations: 326.7 kB / 0.5146 GB, free: 15.33 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3267, allocations: 0 / 0.5146 GB, free: 15.33 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006199/0.3273, allocations: 251.8 kB / 0.5149 GB, free: 15.09 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0005407/0.3278, allocations: 296.3 kB / 0.5152 GB, free: 14.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004926/0.3283, allocations: 350.8 kB / 0.5155 GB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3283, allocations: 8 kB / 0.5155 GB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004136/0.3287, allocations: 357.2 kB / 0.5158 GB, free: 14.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007392/0.3295, allocations: 303.4 kB / 0.5161 GB, free: 13.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.331, allocations: 1.128 MB / 0.5172 GB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.3311, allocations: 170.4 kB / 0.5174 GB, free: 12.42 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003939/0.3315, allocations: 161.4 kB / 0.5175 GB, free: 12.26 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000521/0.332, allocations: 361.9 kB / 0.5179 GB, free: 11.91 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.332, allocations: 0 / 0.5179 GB, free: 11.91 MB / 394.7 MB Notification: Performance of Templates: time 0.01912/0.3511, allocations: 16.95 MB / 0.5344 GB, free: 11.05 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.974001012276858]