Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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.001788/0.001788, allocations: 110.2 kB / 21.93 MB, free: 5.219 MB / 14.72 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.001958/0.001958, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 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.49/1.49, allocations: 207.7 MB / 236.1 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 58.58 kB / 348.5 MB, free: 9.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.283, allocations: 49.15 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.2018/0.4847, allocations: 149.4 MB / 0.5342 GB, free: 13.25 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004564/0.4893, allocations: 2.956 MB / 0.5371 GB, free: 10.28 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003801/0.4897, allocations: 7.938 kB / 0.5371 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007394/0.4904, allocations: 166.9 kB / 0.5373 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.4916, allocations: 413.5 kB / 0.5377 GB, free: 9.703 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.4927, allocations: 359.2 kB / 0.538 GB, free: 9.352 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001287/0.494, allocations: 0.907 MB / 0.5389 GB, free: 8.441 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002312/0.4942, allocations: 76.81 kB / 0.539 GB, free: 8.367 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.4963, allocations: 0.8084 MB / 0.5398 GB, free: 7.559 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005176/0.4969, allocations: 278.9 kB / 0.54 GB, free: 7.285 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-05/0.497, allocations: 28 kB / 0.5401 GB, free: 7.258 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003875/0.4973, allocations: 115.9 kB / 0.5402 GB, free: 7.145 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.4975, allocations: 107.6 kB / 0.5403 GB, free: 7.039 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000257/0.4978, allocations: 155.5 kB / 0.5404 GB, free: 6.887 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007009/0.4985, allocations: 0.5176 MB / 0.5409 GB, free: 6.371 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.4985, allocations: 7.922 kB / 0.5409 GB, free: 6.363 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4985, allocations: 0 / 0.5409 GB, free: 6.363 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.4985, allocations: 0 / 0.5409 GB, free: 6.363 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009887/0.4995, allocations: 0.5129 MB / 0.5414 GB, free: 5.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.4995, allocations: 11.98 kB / 0.5414 GB, free: 5.809 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003445/0.4999, allocations: 47.8 kB / 0.5415 GB, free: 5.762 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005482/0.5004, allocations: 228.7 kB / 0.5417 GB, free: 5.512 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.5004, allocations: 16.5 kB / 0.5417 GB, free: 5.492 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.314e-05/0.5005, allocations: 24 kB / 0.5417 GB, free: 5.469 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006707/0.5012, allocations: 0.5489 MB / 0.5423 GB, free: 4.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.5012, allocations: 0 / 0.5423 GB, free: 4.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.5012, allocations: 12 kB / 0.5423 GB, free: 4.828 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.5012, allocations: 4 kB / 0.5423 GB, free: 4.824 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00035/0.5016, allocations: 205.5 kB / 0.5425 GB, free: 4.625 MB / 462.1 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.001894/0.5035, allocations: 1.148 MB / 0.5436 GB, free: 3.422 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.5038, allocations: 166.7 kB / 0.5438 GB, free: 3.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.5039, allocations: 93.14 kB / 0.5439 GB, free: 3.156 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.504, allocations: 4 kB / 0.5439 GB, free: 3.152 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.504, allocations: 38.56 kB / 0.5439 GB, free: 3.105 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.412e-06/0.504, allocations: 0 / 0.5439 GB, free: 3.105 MB / 462.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005573/0.5096, allocations: 1.306 MB / 0.5452 GB, free: 1.738 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.5096, allocations: 55.41 kB / 0.5452 GB, free: 1.672 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.5099, allocations: 228 kB / 0.5455 GB, free: 1.441 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.5099, allocations: 29.7 kB / 0.5455 GB, free: 1.406 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.5101, allocations: 196.4 kB / 0.5457 GB, free: 1.211 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.59e-05/0.5102, allocations: 95.17 kB / 0.5458 GB, free: 1.117 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.5103, allocations: 85.58 kB / 0.5458 GB, free: 1.027 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.5104, allocations: 338.8 kB / 0.5462 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.5106, allocations: 87.91 kB / 0.5462 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.5109, allocations: 195.8 kB / 0.5464 GB, free: 376 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/0.5113, allocations: 295.8 kB / 0.5467 GB, free: 36 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5113, allocations: 3.938 kB / 0.5467 GB, free: 32 kB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007095/0.512, allocations: 402.8 kB / 0.5471 GB, free: 15.62 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.512, allocations: 8 kB / 0.5471 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.5121, allocations: 0 / 0.5471 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002246/0.5123, allocations: 73.69 kB / 0.5472 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.5126, allocations: 83.83 kB / 0.5473 GB, free: 15.46 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/0.5142, allocations: 1.84 MB / 0.5491 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.5144, allocations: 12.03 kB / 0.5491 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/0.5145, allocations: 36 kB / 0.5491 GB, free: 13.44 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001909/0.5147, allocations: 157.6 kB / 0.5493 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.45e-05/0.5147, allocations: 32.06 kB / 0.5493 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008624/0.5156, allocations: 435.5 kB / 0.5497 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.5156, allocations: 4 kB / 0.5497 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.5156, allocations: 0 / 0.5497 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006138/0.5162, allocations: 0.563 MB / 0.5503 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.5173, allocations: 0.6296 MB / 0.5509 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5173, allocations: 8.062 kB / 0.5509 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/0.5176, allocations: 67.95 kB / 0.5509 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.771e-05/0.5176, allocations: 20.84 kB / 0.551 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.5177, allocations: 12 kB / 0.551 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009934/0.5187, allocations: 1.256 MB / 0.5522 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5187, allocations: 4.156 kB / 0.5522 GB, free: 9.996 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000713/0.5194, allocations: 475.5 kB / 0.5527 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.5194, allocations: 27.81 kB / 0.5527 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/0.5195, allocations: 8 kB / 0.5527 GB, free: 9.473 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.5197, allocations: 11.94 kB / 0.5527 GB, free: 9.461 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.5198, allocations: 27.95 kB / 0.5527 GB, free: 9.434 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/0.5198, allocations: 31.98 kB / 0.5528 GB, free: 9.402 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001796/0.52, allocations: 176.3 kB / 0.5529 GB, free: 9.23 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.52, allocations: 0 / 0.5529 GB, free: 9.23 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005134/0.5205, allocations: 119.9 kB / 0.553 GB, free: 9.113 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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): 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.0003836/0.5209, allocations: 147.2 kB / 0.5532 GB, free: 8.957 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008337/0.5217, allocations: 358.8 kB / 0.5535 GB, free: 8.594 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.5217, allocations: 0 / 0.5535 GB, free: 8.594 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003409/0.5221, allocations: 230.5 kB / 0.5537 GB, free: 8.355 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008542/0.5229, allocations: 140.9 kB / 0.5539 GB, free: 8.219 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.5243, allocations: 0.7368 MB / 0.5546 GB, free: 7.441 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.5245, allocations: 151.2 kB / 0.5547 GB, free: 7.273 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.5247, allocations: 75.41 kB / 0.5548 GB, free: 7.199 MB / 478.1 MB Notification: Performance of SimCode: time 4.7e-07/0.5247, allocations: 0 / 0.5548 GB, free: 7.199 MB / 478.1 MB Notification: Performance of Templates: time 0.2116/0.7363, allocations: 7.358 MB / 0.562 GB, free: 164.8 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.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: 8.885697766207159]