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.002381/0.002381, allocations: 91.66 kB / 21.73 MB, free: 2.676 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.002278/0.002278, allocations: 160.8 kB / 25.02 MB, free: 8.945 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 1.347/1.347, allocations: 158.6 MB / 186.8 MB, free: 2.922 MB / 170.7 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.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.894e-06/1.894e-06, allocations: 0 / 250.4 MB, free: 7.781 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.315e-05/4.504e-05, allocations: 2.312 kB / 250.4 MB, free: 7.777 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4069/0.4069, allocations: 166 MB / 416.4 MB, free: 6.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003626/0.4106, allocations: 3.263 MB / 419.7 MB, free: 6.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.4108, allocations: 9.875 kB / 419.7 MB, free: 6.246 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005847/0.4113, allocations: 168.2 kB / 419.9 MB, free: 6.137 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008034/0.4121, allocations: 425 kB / 420.3 MB, free: 5.906 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007052/0.4129, allocations: 356.9 kB / 420.6 MB, free: 5.695 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006269/0.4135, allocations: 0.9077 MB / 421.5 MB, free: 5.211 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.4136, allocations: 66.08 kB / 421.6 MB, free: 5.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.4153, allocations: 0.9367 MB / 422.5 MB, free: 4.66 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003137/0.4156, allocations: 252.3 kB / 422.8 MB, free: 4.566 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.392e-05/0.4156, allocations: 31.25 kB / 422.8 MB, free: 4.566 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002709/0.4159, allocations: 128.2 kB / 422.9 MB, free: 4.52 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.75e-05/0.416, allocations: 101 kB / 423 MB, free: 4.449 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.4161, allocations: 139.4 kB / 423.2 MB, free: 4.395 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005496/0.4167, allocations: 0.5436 MB / 423.7 MB, free: 4.051 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.4167, allocations: 0 / 423.7 MB, free: 4.051 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.4167, allocations: 0 / 423.7 MB, free: 4.051 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.4167, allocations: 0 / 423.7 MB, free: 4.051 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.0007188/0.4174, allocations: 0.6372 MB / 424.4 MB, free: 3.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.4175, allocations: 20.59 kB / 424.4 MB, free: 3.488 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003014/0.4178, allocations: 79.22 kB / 424.5 MB, free: 3.449 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.4181, allocations: 232 kB / 424.7 MB, free: 3.242 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.4181, allocations: 17.16 kB / 424.7 MB, free: 3.234 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/0.4182, allocations: 32.31 kB / 424.7 MB, free: 3.223 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004463/0.4186, allocations: 0.5553 MB / 425.3 MB, free: 2.695 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.4186, allocations: 6.859 kB / 425.3 MB, free: 2.691 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.4187, allocations: 14.97 kB / 425.3 MB, free: 2.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.4187, allocations: 9.031 kB / 425.3 MB, free: 2.676 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.419, allocations: 197.8 kB / 425.5 MB, free: 2.59 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.001466/0.4204, allocations: 1.542 MB / 427.1 MB, free: 1.227 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.4207, allocations: 180 kB / 427.2 MB, free: 1.125 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.4209, allocations: 93.12 kB / 427.3 MB, free: 1.078 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.4209, allocations: 5.719 kB / 427.3 MB, free: 1.078 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.4209, allocations: 44.03 kB / 427.4 MB, free: 1.027 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.232e-06/0.4209, allocations: 0 / 427.4 MB, free: 1.027 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.004771/0.4257, allocations: 1.235 MB / 428.6 MB, free: 292 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.876e-05/0.4257, allocations: 54.78 kB / 428.7 MB, free: 228 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.426, allocations: 311.4 kB / 429 MB, free: 15.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/0.426, allocations: 32.33 kB / 429 MB, free: 15.94 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.4262, allocations: 234.7 kB / 429.2 MB, free: 15.72 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.902e-05/0.4263, allocations: 109.4 kB / 429.3 MB, free: 15.63 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.4264, allocations: 92.45 kB / 429.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003035/0.4267, allocations: 0.5216 MB / 429.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.4269, allocations: 80.38 kB / 430 MB, free: 15.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.4272, allocations: 232 kB / 430.2 MB, free: 14.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004862/0.4276, allocations: 345.1 kB / 430.6 MB, free: 14.53 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4276, allocations: 0 / 430.6 MB, free: 14.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006604/0.4283, allocations: 403.2 kB / 431 MB, free: 14.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.4283, allocations: 9.766 kB / 431 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4283, allocations: 5.406 kB / 431 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001806/0.4285, allocations: 58.98 kB / 431.1 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.4289, allocations: 85.64 kB / 431.1 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.4311, allocations: 2.611 MB / 433.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.4313, allocations: 10.84 kB / 433.8 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.387e-05/0.4314, allocations: 37.7 kB / 433.8 MB, free: 11.6 MB / 346.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.0002272/0.4316, allocations: 194.1 kB / 434 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.916e-05/0.4317, allocations: 36.2 kB / 434 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008501/0.4325, allocations: 425.5 kB / 434.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.4325, allocations: 7.016 kB / 434.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.4325, allocations: 4 kB / 434.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006294/0.4332, allocations: 0.5482 MB / 435 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.4343, allocations: 0.6999 MB / 435.7 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.4343, allocations: 3.5 kB / 435.7 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/0.4346, allocations: 57.09 kB / 435.8 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001095/0.4347, allocations: 27.3 kB / 435.8 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.4348, allocations: 17.33 kB / 435.8 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.4362, allocations: 1.783 MB / 437.6 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4362, allocations: 0 / 437.6 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000762/0.437, allocations: 0.5159 MB / 438.1 MB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.437, allocations: 20.36 kB / 438.1 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.4371, allocations: 10.92 kB / 438.1 MB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.4373, allocations: 11.16 kB / 438.1 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.4373, allocations: 23.38 kB / 438.2 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/0.4374, allocations: 25.2 kB / 438.2 MB, free: 7.781 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002129/0.4376, allocations: 213.7 kB / 438.4 MB, free: 7.617 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4376, allocations: 0 / 438.4 MB, free: 7.617 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004955/0.4381, allocations: 125.4 kB / 438.5 MB, free: 7.598 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.0004071/0.4385, allocations: 153.1 kB / 438.7 MB, free: 7.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007114/0.4392, allocations: 425.9 kB / 439.1 MB, free: 7.199 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4392, allocations: 3.469 kB / 439.1 MB, free: 7.199 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003559/0.4395, allocations: 297.9 kB / 439.4 MB, free: 6.957 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000827/0.4404, allocations: 137.3 kB / 439.5 MB, free: 6.895 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.4416, allocations: 0.6236 MB / 440.1 MB, free: 6.309 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.4418, allocations: 163.2 kB / 440.3 MB, free: 6.129 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00036/0.4421, allocations: 102.8 kB / 440.4 MB, free: 6.027 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.4423, allocations: 48.48 kB / 440.4 MB, free: 5.98 MB / 346.7 MB Notification: Performance of SimCode: time 6.42e-07/0.4423, allocations: 0 / 440.4 MB, free: 5.98 MB / 346.7 MB Notification: Performance of Templates: time 0.01586/0.4582, allocations: 7.74 MB / 448.2 MB, free: 14.29 MB / 362.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] 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.20858927606605]