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.001058/0.001058, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001021/0.001021, allocations: 165 kB / 23.79 MB, free: 0.7773 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.041/1.041, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.136/0.136, allocations: 32.36 MB / 270.4 MB, free: 14.71 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.482e-06/1.482e-06, allocations: 3.938 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.915e-05, allocations: 8.219 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2897/0.2897, allocations: 147 MB / 494.7 MB, free: 9.258 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004653/0.2943, allocations: 5.021 MB / 499.7 MB, free: 7.055 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003811/0.2947, allocations: 27.5 kB / 499.8 MB, free: 7.039 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005003/0.2952, allocations: 216.2 kB / 500 MB, free: 6.867 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.297, allocations: 1.141 MB / 0.4894 GB, free: 6.004 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.2981, allocations: 0.8448 MB / 0.4902 GB, free: 5.367 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001435/0.2996, allocations: 1.907 MB / 0.4921 GB, free: 4.258 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004861/0.3, allocations: 423.1 kB / 0.4925 GB, free: 3.953 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.3012, allocations: 1.135 MB / 0.4936 GB, free: 3.285 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00055/0.3018, allocations: 0.5948 MB / 0.4942 GB, free: 2.969 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.73e-05/0.3019, allocations: 62.19 kB / 0.4942 GB, free: 2.969 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006406/0.3025, allocations: 476.9 kB / 0.4947 GB, free: 2.766 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.3027, allocations: 288.9 kB / 0.4949 GB, free: 2.566 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.3029, allocations: 284.3 kB / 0.4952 GB, free: 2.434 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009738/0.3039, allocations: 1.001 MB / 0.4962 GB, free: 1.836 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3039, allocations: 0 / 0.4962 GB, free: 1.836 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3039, allocations: 0 / 0.4962 GB, free: 1.836 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.3039, allocations: 0 / 0.4962 GB, free: 1.836 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.001284/0.3052, allocations: 1.14 MB / 0.4973 GB, free: 0.957 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3052, allocations: 8.875 kB / 0.4973 GB, free: 0.957 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005218/0.3057, allocations: 220.4 kB / 0.4975 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005275/0.3063, allocations: 0.4927 MB / 0.498 GB, free: 492 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.731e-05/0.3064, allocations: 152.9 kB / 0.4982 GB, free: 344 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-05/0.3064, allocations: 57.92 kB / 0.4982 GB, free: 324 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007586/0.3072, allocations: 1 MB / 0.4992 GB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.3072, allocations: 6.906 kB / 0.4992 GB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.3072, allocations: 32.52 kB / 0.4992 GB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.089e-05/0.3073, allocations: 37.58 kB / 0.4993 GB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004195/0.3077, allocations: 310.6 kB / 0.4996 GB, free: 15.18 MB / 378.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.002469/0.3102, allocations: 3.873 MB / 0.5033 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.3105, allocations: 212.4 kB / 0.5035 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.3106, allocations: 84.22 kB / 0.5036 GB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002402/0.3109, allocations: 138.1 kB / 0.5037 GB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.3109, allocations: 49.61 kB / 0.5038 GB, free: 11.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.984e-06/0.3109, allocations: 0 / 0.5038 GB, free: 11.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.003298/0.3142, allocations: 1.176 MB / 0.5049 GB, free: 9.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.3143, allocations: 132.5 kB / 0.5051 GB, free: 9.789 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004226/0.3147, allocations: 0.5491 MB / 0.5056 GB, free: 9.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.3147, allocations: 37.7 kB / 0.5056 GB, free: 9.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.3149, allocations: 442.9 kB / 0.5061 GB, free: 8.738 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.85e-05/0.315, allocations: 150.7 kB / 0.5062 GB, free: 8.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.3151, allocations: 160.2 kB / 0.5064 GB, free: 8.426 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3153, allocations: 0.543 MB / 0.5069 GB, free: 7.871 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.3155, allocations: 93.94 kB / 0.507 GB, free: 7.781 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/0.3159, allocations: 0.6416 MB / 0.5076 GB, free: 6.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005728/0.3165, allocations: 0.7004 MB / 0.5083 GB, free: 6.004 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.3165, allocations: 4 kB / 0.5083 GB, free: 6 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007916/0.3173, allocations: 0.6715 MB / 0.509 GB, free: 5.316 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.3173, allocations: 8 kB / 0.509 GB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.3173, allocations: 12.91 kB / 0.509 GB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007115/0.318, allocations: 258.2 kB / 0.5092 GB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.3183, allocations: 127.8 kB / 0.5093 GB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006113/0.3189, allocations: 0.9989 MB / 0.5103 GB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.3192, allocations: 28 kB / 0.5103 GB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/0.3192, allocations: 63.98 kB / 0.5104 GB, free: 3.801 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.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 (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.0001867/0.3194, allocations: 216.3 kB / 0.5106 GB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-05/0.3195, allocations: 71.62 kB / 0.5107 GB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000649/0.3201, allocations: 0.4976 MB / 0.5112 GB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3202, allocations: 4 kB / 0.5112 GB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3202, allocations: 0 / 0.5112 GB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.3202, allocations: 3.984 kB / 0.5112 GB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.3213, allocations: 1.017 MB / 0.5122 GB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3213, allocations: 128 / 0.5122 GB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000517/0.3218, allocations: 199.8 kB / 0.5124 GB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-05/0.3219, allocations: 23.61 kB / 0.5124 GB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.3219, allocations: 20 kB / 0.5124 GB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.3235, allocations: 3.558 MB / 0.5159 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3235, allocations: 7.938 kB / 0.5159 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005854/0.3241, allocations: 0.5857 MB / 0.5165 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.3242, allocations: 99.52 kB / 0.5165 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/0.3243, allocations: 15.94 kB / 0.5166 GB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.3244, allocations: 15.98 kB / 0.5166 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/0.3245, allocations: 39.88 kB / 0.5166 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.3245, allocations: 35.98 kB / 0.5167 GB, free: 13.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002451/0.3248, allocations: 342.8 kB / 0.517 GB, free: 12.69 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3248, allocations: 0 / 0.517 GB, free: 12.69 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006506/0.3254, allocations: 247.8 kB / 0.5172 GB, free: 12.45 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.000588/0.326, allocations: 289 kB / 0.5175 GB, free: 12.17 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006206/0.3266, allocations: 390.8 kB / 0.5179 GB, free: 11.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3266, allocations: 0 / 0.5179 GB, free: 11.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004975/0.3271, allocations: 385.2 kB / 0.5182 GB, free: 11.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007794/0.3279, allocations: 321.4 kB / 0.5185 GB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.3296, allocations: 1.126 MB / 0.5196 GB, free: 9.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.3297, allocations: 174.4 kB / 0.5198 GB, free: 9.719 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005135/0.3302, allocations: 217.3 kB / 0.52 GB, free: 9.504 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.3304, allocations: 88.47 kB / 0.5201 GB, free: 9.418 MB / 394.7 MB Notification: Performance of SimCode: time 1.293e-06/0.3304, allocations: 0 / 0.5201 GB, free: 9.418 MB / 394.7 MB Notification: Performance of Templates: time 0.0187/0.3491, allocations: 16.54 MB / 0.5362 GB, free: 8.965 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: 4.016109962016344]