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.002158/0.002158, allocations: 88.23 kB / 20.2 MB, free: 4.23 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.002646/0.002646, allocations: 157.7 kB / 23.51 MB, free: 0.9258 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.381/1.381, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.2177/0.2177, allocations: 32.37 MB / 270 MB, free: 14.79 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.593e-06/1.593e-06, allocations: 0 / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.399e-05, allocations: 2.312 kB / 347 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3436/0.3436, allocations: 155.6 MB / 0.4908 GB, free: 1.461 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.3541, allocations: 7.513 MB / 0.4981 GB, free: 11.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000588/0.3547, allocations: 30.41 kB / 0.4981 GB, free: 11.6 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.3559, allocations: 316.5 kB / 0.4984 GB, free: 11.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00385/0.3597, allocations: 1.542 MB / 0.5 GB, free: 10.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002973/0.3627, allocations: 1.198 MB / 0.5011 GB, free: 9.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002367/0.3651, allocations: 1.878 MB / 0.503 GB, free: 7.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007464/0.3658, allocations: 425.8 kB / 0.5034 GB, free: 7.496 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003057/0.3689, allocations: 1.491 MB / 0.5048 GB, free: 6 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.37, allocations: 0.6429 MB / 0.5054 GB, free: 5.355 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.3701, allocations: 60 kB / 0.5055 GB, free: 5.297 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.3718, allocations: 0.7525 MB / 0.5062 GB, free: 4.543 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005393/0.3724, allocations: 283.1 kB / 0.5065 GB, free: 4.266 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004848/0.3728, allocations: 291.3 kB / 0.5068 GB, free: 3.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002268/0.3751, allocations: 1.531 MB / 0.5083 GB, free: 2.445 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3751, allocations: 3.938 kB / 0.5083 GB, free: 2.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.3751, allocations: 0 / 0.5083 GB, free: 2.441 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.3751, allocations: 0 / 0.5083 GB, free: 2.441 MB / 378.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.002451/0.3776, allocations: 1.072 MB / 0.5093 GB, free: 1.332 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.3776, allocations: 8.031 kB / 0.5093 GB, free: 1.324 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009901/0.3786, allocations: 227 kB / 0.5096 GB, free: 1.102 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009366/0.3795, allocations: 0.4941 MB / 0.51 GB, free: 0.582 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.3797, allocations: 155.8 kB / 0.5102 GB, free: 412 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.3798, allocations: 55.94 kB / 0.5102 GB, free: 356 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.3815, allocations: 1.169 MB / 0.5114 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.3815, allocations: 0 / 0.5114 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.778e-05/0.3816, allocations: 27.98 kB / 0.5114 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.636e-05/0.3817, allocations: 44.97 kB / 0.5115 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.3828, allocations: 0.6165 MB / 0.5121 GB, free: 14.33 MB / 394.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.005621/0.3885, allocations: 3.25 MB / 0.5152 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008994/0.3894, allocations: 335.6 kB / 0.5156 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004415/0.3898, allocations: 161.3 kB / 0.5157 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005089/0.3903, allocations: 134.1 kB / 0.5158 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.624e-05/0.3904, allocations: 42.84 kB / 0.5159 GB, free: 10.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 2.615e-06/0.3904, allocations: 0 / 0.5159 GB, free: 10.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=39): time 0.007755/0.3981, allocations: 1.575 MB / 0.5174 GB, free: 8.656 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.3983, allocations: 132.5 kB / 0.5175 GB, free: 8.496 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.3993, allocations: 0.5337 MB / 0.5181 GB, free: 7.949 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.62e-05/0.3994, allocations: 33.7 kB / 0.5181 GB, free: 7.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004662/0.3998, allocations: 384.2 kB / 0.5185 GB, free: 7.531 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.4001, allocations: 150.7 kB / 0.5186 GB, free: 7.383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003788/0.4004, allocations: 154.6 kB / 0.5187 GB, free: 7.227 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003042/0.4007, allocations: 374.7 kB / 0.5191 GB, free: 6.852 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006041/0.4013, allocations: 193.9 kB / 0.5193 GB, free: 6.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.4025, allocations: 0.588 MB / 0.5199 GB, free: 5.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/0.4044, allocations: 0.7482 MB / 0.5206 GB, free: 5.027 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.4044, allocations: 4 kB / 0.5206 GB, free: 5.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002493/0.4069, allocations: 0.8842 MB / 0.5215 GB, free: 4.129 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.4069, allocations: 12.06 kB / 0.5215 GB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/0.4069, allocations: 12 kB / 0.5215 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001876/0.4088, allocations: 299.7 kB / 0.5218 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006158/0.4094, allocations: 119.8 kB / 0.5219 GB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.4112, allocations: 0.9153 MB / 0.5228 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006993/0.4119, allocations: 31.98 kB / 0.5228 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.412, allocations: 60 kB / 0.5229 GB, free: 2.664 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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.0005301/0.4125, allocations: 249.6 kB / 0.5231 GB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/0.4128, allocations: 71.62 kB / 0.5232 GB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/0.4148, allocations: 0.6293 MB / 0.5238 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.4148, allocations: 4 kB / 0.5238 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4148, allocations: 0.5 kB / 0.5238 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.4148, allocations: 7.984 kB / 0.5238 GB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003114/0.4179, allocations: 1.133 MB / 0.5249 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.4179, allocations: 12.12 kB / 0.5249 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/0.4195, allocations: 203.8 kB / 0.5251 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001253/0.4196, allocations: 20.84 kB / 0.5251 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.504e-05/0.4196, allocations: 19.94 kB / 0.5252 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003641/0.4233, allocations: 2.628 MB / 0.5277 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4233, allocations: 0 / 0.5277 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.4252, allocations: 0.7863 MB / 0.5285 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003836/0.4256, allocations: 115.6 kB / 0.5286 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.4257, allocations: 8 kB / 0.5286 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005662/0.4263, allocations: 19.98 kB / 0.5286 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.4264, allocations: 43.81 kB / 0.5287 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.233e-05/0.4265, allocations: 35.98 kB / 0.5287 GB, free: 12.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006918/0.4272, allocations: 350.8 kB / 0.529 GB, free: 12.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4272, allocations: 0 / 0.529 GB, free: 12.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001486/0.4287, allocations: 299.6 kB / 0.5293 GB, free: 11.74 MB / 410.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.001351/0.43, allocations: 399.8 kB / 0.5297 GB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.4316, allocations: 0.5038 MB / 0.5302 GB, free: 10.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4317, allocations: 0 / 0.5302 GB, free: 10.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.4331, allocations: 399 kB / 0.5306 GB, free: 10.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/0.4352, allocations: 323.1 kB / 0.5309 GB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.4382, allocations: 1.22 MB / 0.5321 GB, free: 8.879 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.4388, allocations: 332.2 kB / 0.5324 GB, free: 8.527 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001092/0.4399, allocations: 237.2 kB / 0.5326 GB, free: 8.293 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000368/0.4403, allocations: 88.47 kB / 0.5327 GB, free: 8.207 MB / 410.7 MB Notification: Performance of SimCode: time 6.62e-07/0.4403, allocations: 0 / 0.5327 GB, free: 8.207 MB / 410.7 MB Notification: Performance of Templates: time 0.03402/0.4743, allocations: 16.34 MB / 0.5487 GB, free: 7.957 MB / 426.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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: 5.869774360093288]