Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.0008323/0.0008323, allocations: 91.61 kB / 22.19 MB, free: 2.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.0007983/0.0007983, allocations: 157.1 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.8195/0.8195, 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.IdealGases.Air,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.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,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.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 299.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.559e-05, allocations: 6.219 kB / 299.7 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.2946/0.2946, allocations: 149.4 MB / 449.1 MB, free: 5.965 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.2969, allocations: 2.944 MB / 452.1 MB, free: 3.012 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.297, allocations: 4 kB / 452.1 MB, free: 3.008 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004663/0.2975, allocations: 170.9 kB / 452.2 MB, free: 2.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005587/0.298, allocations: 422.6 kB / 452.6 MB, free: 2.426 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005384/0.2986, allocations: 366.2 kB / 453 MB, free: 2.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.2996, allocations: 0.8989 MB / 453.9 MB, free: 1.168 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.2998, allocations: 72.84 kB / 454 MB, free: 1.094 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.3009, allocations: 0.9343 MB / 454.9 MB, free: 160 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.3011, allocations: 255.2 kB / 455.2 MB, free: 15.91 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/0.3012, allocations: 32 kB / 455.2 MB, free: 15.88 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.3013, allocations: 119.8 kB / 455.3 MB, free: 15.76 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.889e-05/0.3014, allocations: 103.6 kB / 455.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.873e-05/0.3015, allocations: 143.7 kB / 455.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004378/0.302, allocations: 0.5415 MB / 456.1 MB, free: 14.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.302, allocations: 0 / 456.1 MB, free: 14.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.302, allocations: 0 / 456.1 MB, free: 14.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.302, allocations: 0 / 456.1 MB, free: 14.97 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.0005795/0.3025, allocations: 0.5231 MB / 456.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.3026, allocations: 11.98 kB / 456.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.3028, allocations: 43.81 kB / 456.7 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.3031, allocations: 229.2 kB / 456.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.3031, allocations: 20.5 kB / 456.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.3031, allocations: 24 kB / 456.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.3035, allocations: 0.5375 MB / 457.5 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3035, allocations: 7.938 kB / 457.5 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.3036, allocations: 8 kB / 457.5 MB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.3036, allocations: 11.94 kB / 457.5 MB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.3038, 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.000984/0.3048, allocations: 1.15 MB / 458.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.305, allocations: 162.1 kB / 459 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.3051, allocations: 84.83 kB / 459.1 MB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.3051, allocations: 11.92 kB / 459.1 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.3051, allocations: 42.88 kB / 459.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.263e-06/0.3051, allocations: 0 / 459.1 MB, free: 11.71 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.002745/0.3079, allocations: 1.318 MB / 460.5 MB, free: 10.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.3079, allocations: 59.34 kB / 460.5 MB, free: 10.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.308, allocations: 232 kB / 460.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.3081, allocations: 29.7 kB / 460.8 MB, free: 10 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/0.3084, allocations: 184.4 kB / 460.9 MB, free: 9.816 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/0.3085, allocations: 103.1 kB / 461 MB, free: 9.715 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-05/0.3085, allocations: 77.69 kB / 461.1 MB, free: 9.633 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.131e-05/0.3086, allocations: 330.8 kB / 461.4 MB, free: 9.301 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.3087, allocations: 91.97 kB / 461.5 MB, free: 9.211 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.3089, allocations: 183.8 kB / 461.7 MB, free: 8.988 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.3091, allocations: 303.8 kB / 462 MB, free: 8.648 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.3091, allocations: 3.938 kB / 462 MB, free: 8.645 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003893/0.3095, allocations: 402.8 kB / 462.4 MB, free: 8.238 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3095, allocations: 7.938 kB / 462.4 MB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3095, allocations: 4.406 kB / 462.4 MB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001458/0.3097, allocations: 73.69 kB / 462.5 MB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.3099, allocations: 83.89 kB / 462.6 MB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000872/0.3107, allocations: 1.829 MB / 464.4 MB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.23e-05/0.3108, allocations: 8 kB / 464.4 MB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.3109, allocations: 41.12 kB / 464.5 MB, free: 6.062 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.0001189/0.311, allocations: 153.8 kB / 464.6 MB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.311, allocations: 23.86 kB / 464.6 MB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005102/0.3115, allocations: 449.4 kB / 465.1 MB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3115, allocations: 0 / 465.1 MB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.3115, allocations: 4 kB / 465.1 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003225/0.3119, allocations: 0.5596 MB / 465.6 MB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005677/0.3124, allocations: 0.6334 MB / 466.3 MB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.3124, allocations: 3.984 kB / 466.3 MB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.3126, allocations: 67.91 kB / 466.3 MB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.233e-05/0.3126, allocations: 20.84 kB / 466.4 MB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.3127, allocations: 19.92 kB / 466.4 MB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000533/0.3132, allocations: 1.256 MB / 467.6 MB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3132, allocations: 0 / 467.6 MB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006718/0.3139, allocations: 478.5 kB / 468.1 MB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.3139, allocations: 31.78 kB / 468.1 MB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.3139, allocations: 7.984 kB / 468.1 MB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.314, allocations: 4 kB / 468.1 MB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.3141, allocations: 24.19 kB / 468.2 MB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.3141, allocations: 41.55 kB / 468.2 MB, free: 2.023 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.3142, allocations: 173.2 kB / 468.4 MB, free: 1.855 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3142, allocations: 0 / 468.4 MB, free: 1.855 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002992/0.3145, 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.0002562/0.3147, allocations: 158.9 kB / 468.6 MB, free: 1.574 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004162/0.3152, allocations: 354.4 kB / 469 MB, free: 1.215 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3152, allocations: 4 kB / 469 MB, free: 1.211 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.3153, allocations: 219.4 kB / 469.2 MB, free: 0.9844 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.3158, allocations: 128.4 kB / 469.3 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007616/0.3165, allocations: 0.6583 MB / 470 MB, free: 168 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.3166, allocations: 158.8 kB / 470.1 MB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.3168, allocations: 76.47 kB / 470.2 MB, free: 15.91 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3168, allocations: 4 kB / 470.2 MB, free: 15.91 MB / 410.7 MB Notification: Performance of Templates: time 0.006331/0.3231, allocations: 7.371 MB / 477.6 MB, free: 8.531 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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: 5.342974026687443]