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.001022/0.001022, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001017/0.001017, allocations: 169.3 kB / 25.33 MB, free: 8.543 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.9692/0.9692, allocations: 158.6 MB / 187.2 MB, free: 2.949 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.903e-06/1.903e-06, allocations: 0 / 251.1 MB, free: 7.453 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.359e-05, allocations: 2.312 kB / 251.1 MB, free: 7.449 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.2786/0.2786, allocations: 145.2 MB / 396.3 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007458/0.2794, allocations: 0.6917 MB / 397 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.2795, allocations: 6.281 kB / 397 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003819/0.2799, allocations: 99 kB / 397.1 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000502/0.2804, allocations: 386.5 kB / 397.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000478/0.2809, allocations: 355.5 kB / 397.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005439/0.2814, allocations: 0.9302 MB / 398.7 MB, free: 10.17 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.2815, allocations: 74.7 kB / 398.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.2827, allocations: 0.9037 MB / 399.7 MB, free: 9.953 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.2829, allocations: 257.2 kB / 399.9 MB, free: 9.867 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/0.283, allocations: 29.09 kB / 400 MB, free: 9.867 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.2831, allocations: 118.7 kB / 400.1 MB, free: 9.848 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.76e-05/0.2832, allocations: 106 kB / 400.2 MB, free: 9.809 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.2833, allocations: 145.1 kB / 400.3 MB, free: 9.781 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.2837, allocations: 381.1 kB / 400.7 MB, free: 9.664 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2837, allocations: 0 / 400.7 MB, free: 9.664 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2837, allocations: 0 / 400.7 MB, free: 9.664 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.2837, allocations: 0 / 400.7 MB, free: 9.664 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.0005614/0.2842, allocations: 0.6232 MB / 401.3 MB, free: 9.164 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.2843, allocations: 15.14 kB / 401.3 MB, free: 9.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002174/0.2845, allocations: 84.62 kB / 401.4 MB, free: 9.121 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.2847, allocations: 226 kB / 401.6 MB, free: 8.945 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.2847, allocations: 19.84 kB / 401.7 MB, free: 8.945 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.155e-05/0.2848, allocations: 30.97 kB / 401.7 MB, free: 8.941 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.2851, allocations: 0.5022 MB / 402.2 MB, free: 8.488 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.2851, allocations: 10.25 kB / 402.2 MB, free: 8.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.2851, allocations: 13.69 kB / 402.2 MB, free: 8.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.2851, allocations: 5.812 kB / 402.2 MB, free: 8.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.2853, allocations: 135.3 kB / 402.4 MB, free: 8.441 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.0009008/0.2862, allocations: 1.453 MB / 403.8 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.2864, allocations: 129.2 kB / 403.9 MB, free: 7.203 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.461e-05/0.2864, allocations: 71.59 kB / 404 MB, free: 7.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.2865, allocations: 2.75 kB / 404 MB, free: 7.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.2865, allocations: 43.39 kB / 404.1 MB, free: 7.133 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.222e-06/0.2865, allocations: 0 / 404.1 MB, free: 7.133 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.002506/0.289, allocations: 1.077 MB / 405.1 MB, free: 6.605 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.729e-05/0.289, allocations: 56.91 kB / 405.2 MB, free: 6.543 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.2891, allocations: 274.7 kB / 405.5 MB, free: 6.344 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.2892, allocations: 33.02 kB / 405.5 MB, free: 6.309 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.735e-05/0.2892, allocations: 227.8 kB / 405.7 MB, free: 6.121 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.2893, allocations: 105.6 kB / 405.8 MB, free: 6.047 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.917e-05/0.2893, allocations: 78.75 kB / 405.9 MB, free: 6.016 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.499e-05/0.2894, allocations: 0.5038 MB / 406.4 MB, free: 5.516 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.199e-05/0.2895, allocations: 51.97 kB / 406.4 MB, free: 5.508 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.2896, allocations: 196.1 kB / 406.6 MB, free: 5.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.2898, allocations: 275.7 kB / 406.9 MB, free: 5.121 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2898, allocations: 0 / 406.9 MB, free: 5.121 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003281/0.2901, allocations: 331.3 kB / 407.2 MB, free: 4.996 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2901, allocations: 8.375 kB / 407.2 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2901, allocations: 3 kB / 407.2 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/0.2903, allocations: 54.91 kB / 407.3 MB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.2905, allocations: 90.8 kB / 407.4 MB, free: 4.945 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007544/0.2912, allocations: 2.547 MB / 409.9 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.98e-05/0.2913, allocations: 12.19 kB / 409.9 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.2913, allocations: 36.05 kB / 410 MB, free: 2.367 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 7.908e-05/0.2914, allocations: 188.9 kB / 410.2 MB, free: 2.188 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.2915, allocations: 32.36 kB / 410.2 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003976/0.2919, allocations: 348.8 kB / 410.5 MB, free: 2.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.2919, allocations: 6.75 kB / 410.5 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.2919, allocations: 0 / 410.5 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002231/0.2921, allocations: 0.5024 MB / 411 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.2926, allocations: 0.5925 MB / 411.6 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2926, allocations: 0 / 411.6 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.2927, allocations: 65.39 kB / 411.7 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-05/0.2928, allocations: 32.59 kB / 411.7 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.2928, allocations: 16.2 kB / 411.7 MB, free: 1.105 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004959/0.2933, allocations: 1.724 MB / 413.5 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2933, allocations: 0 / 413.5 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.2936, allocations: 444.1 kB / 413.9 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.236e-05/0.2937, allocations: 20.7 kB / 413.9 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.2937, allocations: 10 kB / 413.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.2938, allocations: 13.98 kB / 413.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.2938, allocations: 22.66 kB / 414 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.2939, allocations: 24.48 kB / 414 MB, free: 15.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001007/0.294, allocations: 192.2 kB / 414.2 MB, free: 14.89 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.294, allocations: 0 / 414.2 MB, free: 14.89 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002972/0.2943, allocations: 120.6 kB / 414.3 MB, free: 14.89 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.0002546/0.2945, allocations: 154 kB / 414.4 MB, free: 14.78 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005262/0.295, allocations: 371.9 kB / 414.8 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.295, allocations: 0 / 414.8 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.2952, allocations: 255.8 kB / 415.1 MB, free: 14.35 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.2956, allocations: 148.4 kB / 415.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009699/0.2966, allocations: 0.5927 MB / 415.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.466e-05/0.2967, allocations: 97.97 kB / 415.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000203/0.2969, allocations: 96.08 kB / 416 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.28e-05/0.297, allocations: 55.28 kB / 416 MB, free: 13.73 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.297, allocations: 7.938 kB / 416.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of Templates: time 0.00871/0.3057, allocations: 7.752 MB / 423.8 MB, free: 9.746 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.354273722972721]