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.001119/0.001119, allocations: 91.61 kB / 22.18 MB, free: 2.383 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.0008505/0.0008505, allocations: 156.9 kB / 25.45 MB, free: 9.352 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.8364/0.8364, allocations: 158.6 MB / 187.2 MB, free: 3.051 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.442e-06/1.442e-06, allocations: 0 / 299.7 MB, free: 6.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.83e-05, allocations: 6.281 kB / 299.8 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.2863/0.2863, allocations: 149.4 MB / 449.1 MB, free: 5.969 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002705/0.289, allocations: 2.944 MB / 452.1 MB, free: 3.016 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.2892, allocations: 7.938 kB / 452.1 MB, free: 3.008 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004797/0.2896, allocations: 162.9 kB / 452.2 MB, free: 2.848 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006643/0.2903, allocations: 426.6 kB / 452.6 MB, free: 2.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000651/0.291, allocations: 362.1 kB / 453 MB, free: 2.078 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006872/0.2916, allocations: 0.8988 MB / 453.9 MB, free: 1.176 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.2918, allocations: 80.83 kB / 454 MB, free: 1.094 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.2933, allocations: 0.9337 MB / 454.9 MB, free: 164 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.2936, allocations: 255.2 kB / 455.2 MB, free: 15.91 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.758e-05/0.2936, allocations: 32 kB / 455.2 MB, free: 15.88 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.2938, allocations: 131.8 kB / 455.3 MB, free: 15.75 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.796e-05/0.2939, allocations: 91.66 kB / 455.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.294, allocations: 147.7 kB / 455.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005032/0.2945, allocations: 0.5337 MB / 456.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2945, allocations: 4 kB / 456.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2945, allocations: 0 / 456.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.2945, allocations: 0 / 456.1 MB, free: 14.98 MB / 394.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.0006644/0.2952, allocations: 0.5231 MB / 456.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.2953, allocations: 11.98 kB / 456.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.2954, allocations: 47.8 kB / 456.7 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.2958, allocations: 230.5 kB / 456.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.2959, allocations: 20.5 kB / 456.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.137e-05/0.2959, allocations: 24 kB / 456.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004505/0.2963, allocations: 0.5413 MB / 457.5 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.2964, allocations: 4 kB / 457.5 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.2964, allocations: 12 kB / 457.5 MB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2964, allocations: 11.94 kB / 457.5 MB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.2966, allocations: 201.8 kB / 457.7 MB, free: 13.23 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.001114/0.2977, allocations: 1.137 MB / 458.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.298, allocations: 170.7 kB / 459 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.2981, allocations: 84.83 kB / 459.1 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.2981, allocations: 4 kB / 459.1 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.2981, allocations: 42.88 kB / 459.1 MB, free: 11.72 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 2.043e-06/0.2981, allocations: 0 / 459.1 MB, free: 11.72 MB / 394.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.00306/0.3012, allocations: 1.317 MB / 460.4 MB, free: 10.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.3012, allocations: 55.41 kB / 460.5 MB, free: 10.28 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.3014, allocations: 232 kB / 460.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.3014, allocations: 29.7 kB / 460.8 MB, free: 10.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.666e-05/0.3015, allocations: 188.4 kB / 460.9 MB, free: 9.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.099e-05/0.3016, allocations: 103.1 kB / 461 MB, free: 9.719 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.234e-05/0.3017, allocations: 77.69 kB / 461.1 MB, free: 9.637 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3018, allocations: 330.8 kB / 461.4 MB, free: 9.305 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.3019, allocations: 91.95 kB / 461.5 MB, free: 9.215 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.302, allocations: 187.7 kB / 461.7 MB, free: 8.988 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.3023, allocations: 303.8 kB / 462 MB, free: 8.648 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3023, allocations: 4 kB / 462 MB, free: 8.645 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004372/0.3027, allocations: 399.4 kB / 462.4 MB, free: 8.242 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.3028, allocations: 4 kB / 462.4 MB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.3028, allocations: 4 kB / 462.4 MB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001792/0.3029, allocations: 77.67 kB / 462.5 MB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.3032, allocations: 88.3 kB / 462.6 MB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.3042, allocations: 1.819 MB / 464.4 MB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.3043, allocations: 12 kB / 464.4 MB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.3043, allocations: 43.98 kB / 464.4 MB, free: 6.066 MB / 394.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 0.0001512/0.3045, allocations: 150 kB / 464.6 MB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.3045, allocations: 23.86 kB / 464.6 MB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005816/0.3051, allocations: 448.3 kB / 465.1 MB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.3051, allocations: 0 / 465.1 MB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.3051, allocations: 7.984 kB / 465.1 MB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003417/0.3055, allocations: 0.5557 MB / 465.6 MB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006539/0.3061, allocations: 0.6335 MB / 466.3 MB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3061, allocations: 0 / 466.3 MB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.3063, allocations: 75.89 kB / 466.3 MB, free: 4.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.23e-05/0.3064, allocations: 20.84 kB / 466.3 MB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.3064, allocations: 15.94 kB / 466.4 MB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005947/0.307, allocations: 1.26 MB / 467.6 MB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.307, allocations: 0 / 467.6 MB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.3074, allocations: 478.5 kB / 468.1 MB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.3074, allocations: 27.83 kB / 468.1 MB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.3075, allocations: 4 kB / 468.1 MB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.3076, allocations: 12 kB / 468.1 MB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.3076, allocations: 35.89 kB / 468.2 MB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.3076, allocations: 35.92 kB / 468.2 MB, free: 2.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.3078, allocations: 165.2 kB / 468.4 MB, free: 1.859 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3078, allocations: 4.156 kB / 468.4 MB, free: 1.855 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003678/0.3081, allocations: 119.9 kB / 468.5 MB, free: 1.738 MB / 394.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 (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.0002931/0.3084, allocations: 150.9 kB / 468.6 MB, free: 1.582 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004769/0.3089, allocations: 366.4 kB / 469 MB, free: 1.211 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3089, allocations: 0 / 469 MB, free: 1.211 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.3091, allocations: 222.5 kB / 469.2 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.3096, allocations: 129.2 kB / 469.3 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008607/0.3104, allocations: 0.6466 MB / 470 MB, free: 176 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.3105, allocations: 162.8 kB / 470.1 MB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.3107, allocations: 76.41 kB / 470.2 MB, free: 15.92 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.3107, allocations: 0 / 470.2 MB, free: 15.92 MB / 410.7 MB Notification: Performance of Templates: time 0.007054/0.3177, allocations: 7.383 MB / 477.6 MB, free: 8.527 MB / 410.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=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/jenkins/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/jenkins/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: 4.973633215762675]