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.001308/0.001308, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001391/0.001391, allocations: 161 kB / 24.56 MB, free: 8 kB / 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.9761/0.9761, allocations: 177.1 MB / 205 MB, free: 5.625 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.2379/0.2379, allocations: 34.26 MB / 295.7 MB, free: 0.7383 MB / 266.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.182e-06/1.182e-06, allocations: 0 / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165e-05/1.283e-05, allocations: 2.312 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2852/0.2852, allocations: 148.7 MB / 0.5144 GB, free: 15.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003733/0.2889, allocations: 2.59 MB / 0.517 GB, free: 13.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005616/0.2895, allocations: 26.81 kB / 0.517 GB, free: 13.63 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005856/0.2901, allocations: 215.4 kB / 0.5172 GB, free: 13.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002158/0.2922, allocations: 1.095 MB / 0.5183 GB, free: 12.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.2937, allocations: 0.8248 MB / 0.5191 GB, free: 12.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001755/0.2954, allocations: 1.908 MB / 0.5209 GB, free: 11.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005581/0.296, allocations: 418.6 kB / 0.5213 GB, free: 11.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.2975, allocations: 1.143 MB / 0.5225 GB, free: 10.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007964/0.2983, allocations: 0.5925 MB / 0.523 GB, free: 10.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001677/0.2984, allocations: 60 kB / 0.5231 GB, free: 10.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008548/0.2993, allocations: 449.1 kB / 0.5235 GB, free: 10.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.2995, allocations: 288.6 kB / 0.5238 GB, free: 10.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002784/0.2998, allocations: 282.7 kB / 0.5241 GB, free: 10.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.301, allocations: 0.991 MB / 0.525 GB, free: 9.988 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.301, allocations: 4 kB / 0.525 GB, free: 9.984 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.301, allocations: 0 / 0.525 GB, free: 9.984 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.843e-05/0.301, allocations: 2.578 kB / 0.525 GB, free: 9.984 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.001529/0.3025, allocations: 1.124 MB / 0.5261 GB, free: 9.223 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3026, allocations: 14.94 kB / 0.5262 GB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005452/0.3031, allocations: 228 kB / 0.5264 GB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005266/0.3037, allocations: 489.1 kB / 0.5268 GB, free: 8.824 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.882e-05/0.3037, allocations: 161.7 kB / 0.527 GB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.788e-05/0.3038, allocations: 56.97 kB / 0.527 GB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006844/0.3045, allocations: 0.9732 MB / 0.528 GB, free: 7.816 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.3045, allocations: 6.719 kB / 0.528 GB, free: 7.812 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.66e-05/0.3045, allocations: 28.77 kB / 0.528 GB, free: 7.793 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.677e-05/0.3046, allocations: 38.33 kB / 0.5281 GB, free: 7.789 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000432/0.305, allocations: 305.5 kB / 0.5284 GB, free: 7.734 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.002062/0.3071, allocations: 3.866 MB / 0.5321 GB, free: 4.438 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.3074, allocations: 220.7 kB / 0.5323 GB, free: 4.352 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.3075, allocations: 90.92 kB / 0.5324 GB, free: 4.324 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.793e-05/0.3076, allocations: 21.31 kB / 0.5325 GB, free: 4.316 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.3076, allocations: 43.36 kB / 0.5325 GB, free: 4.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.393e-06/0.3076, allocations: 0 / 0.5325 GB, free: 4.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002572/0.3102, allocations: 1.163 MB / 0.5336 GB, free: 3.695 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.3102, allocations: 135.5 kB / 0.5338 GB, free: 3.535 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.3105, allocations: 0.5548 MB / 0.5343 GB, free: 3.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.3106, allocations: 36.73 kB / 0.5343 GB, free: 3.191 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.3107, allocations: 435.5 kB / 0.5348 GB, free: 2.824 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.039e-05/0.3108, allocations: 155.9 kB / 0.5349 GB, free: 2.707 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.3109, allocations: 163.4 kB / 0.5351 GB, free: 2.621 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.311, allocations: 0.5485 MB / 0.5356 GB, free: 2.094 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.3111, allocations: 91.95 kB / 0.5357 GB, free: 2.086 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.3114, allocations: 0.6433 MB / 0.5363 GB, free: 1.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/0.3119, allocations: 0.7038 MB / 0.537 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3119, allocations: 2.969 kB / 0.537 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.000712/0.3126, allocations: 0.6692 MB / 0.5377 GB, free: 380 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.3126, allocations: 8.969 kB / 0.5377 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.3126, allocations: 11.38 kB / 0.5377 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006388/0.3132, allocations: 251.7 kB / 0.5379 GB, free: 336 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.3135, allocations: 127.8 kB / 0.538 GB, free: 320 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005922/0.314, allocations: 1.009 MB / 0.539 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.3143, allocations: 24.58 kB / 0.539 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.42e-05/0.3144, allocations: 64.69 kB / 0.5391 GB, free: 15.44 MB / 426.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.0001761/0.3146, allocations: 211.6 kB / 0.5393 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.627e-05/0.3147, allocations: 73.03 kB / 0.5394 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007871/0.3155, allocations: 0.6874 MB / 0.54 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3155, allocations: 2.469 kB / 0.54 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3155, allocations: 3.031 kB / 0.5401 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3155, allocations: 6.188 kB / 0.5401 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.3165, allocations: 0.9347 MB / 0.541 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3165, allocations: 0 / 0.541 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005071/0.317, allocations: 195 kB / 0.5412 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.852e-05/0.3171, allocations: 33.41 kB / 0.5412 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.3171, allocations: 17.58 kB / 0.5412 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/0.3185, allocations: 3.557 MB / 0.5447 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3185, allocations: 0.9375 kB / 0.5447 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000605/0.3191, allocations: 0.6021 MB / 0.5453 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.3192, allocations: 94.48 kB / 0.5454 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/0.3193, allocations: 10.31 kB / 0.5454 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.3195, allocations: 22.78 kB / 0.5454 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.012e-05/0.3195, allocations: 39.33 kB / 0.5454 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.3196, allocations: 34.66 kB / 0.5455 GB, free: 10.26 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002627/0.3198, allocations: 344.1 kB / 0.5458 GB, free: 10.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 3e-08/0.3198, allocations: 0 / 0.5458 GB, free: 10.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006141/0.3205, allocations: 249.3 kB / 0.546 GB, free: 10.06 MB / 426.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.0004385/0.3209, allocations: 256.4 kB / 0.5463 GB, free: 9.926 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005911/0.3215, allocations: 396.9 kB / 0.5466 GB, free: 9.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3215, allocations: 2.688 kB / 0.5467 GB, free: 9.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004731/0.322, allocations: 385.5 kB / 0.547 GB, free: 9.609 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008051/0.3228, allocations: 329 kB / 0.5473 GB, free: 9.527 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.3245, allocations: 1.171 MB / 0.5485 GB, free: 8.762 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.3246, allocations: 168.3 kB / 0.5486 GB, free: 8.641 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005936/0.3252, allocations: 425.4 kB / 0.549 GB, free: 8.434 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.3253, allocations: 98.23 kB / 0.5491 GB, free: 8.402 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3253, allocations: 0 / 0.5491 GB, free: 8.402 MB / 426.7 MB Notification: Performance of Templates: time 0.02387/0.3492, allocations: 16.37 MB / 0.5651 GB, free: 9.098 MB / 442.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.753044192213565]