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.001278/0.001278, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001458/0.001458, allocations: 164.7 kB / 25.33 MB, free: 8.582 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 0.8915/0.8915, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 251.1 MB, free: 7.461 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.106e-05, allocations: 2.312 kB / 251.1 MB, free: 7.457 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.2874/0.2874, allocations: 145.2 MB / 396.3 MB, free: 10.42 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.2885, allocations: 0.6829 MB / 397 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.2886, allocations: 9.344 kB / 397 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003498/0.289, allocations: 98.27 kB / 397.1 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006213/0.2896, allocations: 386.5 kB / 397.4 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006096/0.2902, allocations: 367.9 kB / 397.8 MB, free: 10.24 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008302/0.291, allocations: 0.9267 MB / 398.7 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.2912, allocations: 71.47 kB / 398.8 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.2927, allocations: 0.9076 MB / 399.7 MB, free: 9.977 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/0.293, allocations: 244.8 kB / 399.9 MB, free: 9.902 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/0.293, allocations: 32.97 kB / 400 MB, free: 9.898 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.2932, allocations: 123.6 kB / 400.1 MB, free: 9.875 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.115e-05/0.2933, allocations: 104.3 kB / 400.2 MB, free: 9.836 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.2934, allocations: 144.6 kB / 400.3 MB, free: 9.812 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003846/0.2938, allocations: 378 kB / 400.7 MB, free: 9.695 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2938, allocations: 0 / 400.7 MB, free: 9.695 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2938, allocations: 0 / 400.7 MB, free: 9.695 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.2938, allocations: 3.938 kB / 400.7 MB, free: 9.691 MB / 330.7 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.0005573/0.2944, allocations: 0.6251 MB / 401.3 MB, free: 9.191 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2944, allocations: 12.77 kB / 401.3 MB, free: 9.188 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002305/0.2946, allocations: 79.92 kB / 401.4 MB, free: 9.152 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.2949, allocations: 233.8 kB / 401.7 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.2949, allocations: 19.19 kB / 401.7 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.295, allocations: 27.75 kB / 401.7 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.2953, allocations: 0.5058 MB / 402.2 MB, free: 8.516 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.2953, allocations: 4 kB / 402.2 MB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.2953, allocations: 9.062 kB / 402.2 MB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.2953, allocations: 6.312 kB / 402.2 MB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.2955, allocations: 138.8 kB / 402.4 MB, free: 8.473 MB / 330.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.001058/0.2966, allocations: 1.452 MB / 403.8 MB, free: 7.285 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.2968, allocations: 131 kB / 403.9 MB, free: 7.234 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.886e-05/0.2969, allocations: 67.91 kB / 404 MB, free: 7.211 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.2969, allocations: 8.969 kB / 404 MB, free: 7.211 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.2969, allocations: 39.97 kB / 404.1 MB, free: 7.164 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 2.094e-06/0.2969, allocations: 3.938 kB / 404.1 MB, free: 7.16 MB / 330.7 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.002731/0.2996, allocations: 1.077 MB / 405.1 MB, free: 6.637 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/0.2997, allocations: 54.34 kB / 405.2 MB, free: 6.574 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.2998, allocations: 270.7 kB / 405.5 MB, free: 6.375 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.2998, allocations: 39.3 kB / 405.5 MB, free: 6.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/0.2999, allocations: 225 kB / 405.7 MB, free: 6.152 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.2999, allocations: 102.8 kB / 405.8 MB, free: 6.078 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.217e-05/0.3, allocations: 74.36 kB / 405.9 MB, free: 6.051 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.81e-05/0.3, allocations: 0.5064 MB / 406.4 MB, free: 5.551 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.827e-05/0.3001, allocations: 57.3 kB / 406.4 MB, free: 5.535 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.3002, allocations: 196.4 kB / 406.6 MB, free: 5.348 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.3004, allocations: 268.4 kB / 406.9 MB, free: 5.152 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3004, allocations: 0 / 406.9 MB, free: 5.152 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003538/0.3008, allocations: 338.3 kB / 407.2 MB, free: 5.023 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3008, allocations: 5.812 kB / 407.2 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3008, allocations: 5.625 kB / 407.2 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001363/0.301, allocations: 55.28 kB / 407.3 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.3012, allocations: 90.64 kB / 407.4 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000751/0.3019, allocations: 2.548 MB / 409.9 MB, free: 2.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.302, allocations: 9.406 kB / 409.9 MB, free: 2.395 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.302, allocations: 29.31 kB / 410 MB, free: 2.395 MB / 330.7 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 9.056e-05/0.3021, allocations: 191.1 kB / 410.2 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.3022, allocations: 32.36 kB / 410.2 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004228/0.3026, allocations: 355.4 kB / 410.5 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3026, allocations: 2.406 kB / 410.5 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.3026, allocations: 0 / 410.5 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00023/0.3028, allocations: 0.5027 MB / 411 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/0.3033, allocations: 0.598 MB / 411.6 MB, free: 1.176 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3033, allocations: 0 / 411.6 MB, free: 1.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.3035, allocations: 64.3 kB / 411.7 MB, free: 1.164 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-05/0.3036, allocations: 27.91 kB / 411.7 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.3036, allocations: 20.42 kB / 411.7 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005067/0.3041, allocations: 1.717 MB / 413.5 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3041, allocations: 3.938 kB / 413.5 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.3045, allocations: 439.8 kB / 413.9 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/0.3045, allocations: 21.55 kB / 413.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.3045, allocations: 6 kB / 413.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.3046, allocations: 13.19 kB / 413.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.3047, allocations: 27.86 kB / 414 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.3047, allocations: 21.14 kB / 414 MB, free: 15.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.928e-05/0.3048, allocations: 190.5 kB / 414.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3048, allocations: 0 / 414.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003308/0.3051, allocations: 127.7 kB / 414.3 MB, free: 14.92 MB / 346.7 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 (25): * Single equations (assignments): 24 * 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.0002756/0.3054, allocations: 151.2 kB / 414.4 MB, free: 14.81 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004085/0.3058, allocations: 370.5 kB / 414.8 MB, free: 14.58 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3058, allocations: 0 / 414.8 MB, free: 14.58 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.306, allocations: 263.9 kB / 415.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.3064, allocations: 148.8 kB / 415.2 MB, free: 14.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.3075, allocations: 0.5952 MB / 415.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.743e-05/0.3075, allocations: 97.62 kB / 415.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002284/0.3078, allocations: 91.94 kB / 416 MB, free: 13.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.232e-05/0.3078, allocations: 51.45 kB / 416 MB, free: 13.77 MB / 346.7 MB Notification: Performance of SimCode: time 7.32e-07/0.3078, allocations: 4 kB / 416 MB, free: 13.77 MB / 346.7 MB Notification: Performance of Templates: time 0.01021/0.3181, allocations: 8.464 MB / 424.5 MB, free: 9.383 MB / 346.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/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.0194119443185627]