Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.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.0009849/0.0009849, allocations: 83.58 kB / 21.19 MB, free: 3.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.001443/0.001443, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9712/0.9712, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2557/0.2557, allocations: 34.27 MB / 295.7 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.791e-05, allocations: 2.312 kB / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.297/0.297, allocations: 148.7 MB / 0.5144 GB, free: 15.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003069/0.3001, allocations: 2.594 MB / 0.517 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003766/0.3005, allocations: 26.94 kB / 0.517 GB, free: 13.63 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004963/0.301, allocations: 212.7 kB / 0.5172 GB, free: 13.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.3027, allocations: 1.097 MB / 0.5183 GB, free: 12.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.3038, allocations: 0.8264 MB / 0.5191 GB, free: 12.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001316/0.3052, allocations: 1.904 MB / 0.5209 GB, free: 11.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004908/0.3057, allocations: 415.9 kB / 0.5213 GB, free: 11.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001213/0.3069, allocations: 1.148 MB / 0.5225 GB, free: 10.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006169/0.3075, allocations: 0.5905 MB / 0.523 GB, free: 10.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.3076, allocations: 60.44 kB / 0.5231 GB, free: 10.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005858/0.3082, allocations: 448.7 kB / 0.5235 GB, free: 10.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.3083, allocations: 290.5 kB / 0.5238 GB, free: 10.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.3085, allocations: 285.2 kB / 0.5241 GB, free: 10.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000956/0.3095, allocations: 0.9908 MB / 0.525 GB, free: 9.984 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.3095, allocations: 3.938 kB / 0.525 GB, free: 9.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3095, allocations: 0 / 0.525 GB, free: 9.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.3095, allocations: 0 / 0.525 GB, free: 9.98 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001339/0.3109, allocations: 1.124 MB / 0.5261 GB, free: 9.223 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.3109, allocations: 12.28 kB / 0.5262 GB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005339/0.3114, allocations: 230.1 kB / 0.5264 GB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004915/0.3119, allocations: 496.5 kB / 0.5268 GB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.771e-05/0.312, allocations: 151.9 kB / 0.527 GB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.734e-05/0.3121, allocations: 58.41 kB / 0.5271 GB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006705/0.3127, allocations: 0.9786 MB / 0.528 GB, free: 7.812 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.3128, allocations: 6.906 kB / 0.528 GB, free: 7.809 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/0.3128, allocations: 21.25 kB / 0.528 GB, free: 7.793 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.282e-05/0.3128, allocations: 41.89 kB / 0.5281 GB, free: 7.789 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.3133, allocations: 309.8 kB / 0.5284 GB, free: 7.73 MB / 410.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.002007/0.3153, allocations: 3.862 MB / 0.5321 GB, free: 4.438 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.3156, allocations: 217.5 kB / 0.5323 GB, free: 4.352 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.3157, allocations: 87.75 kB / 0.5324 GB, free: 4.324 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.099e-05/0.3157, allocations: 17.39 kB / 0.5324 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.3158, allocations: 47.59 kB / 0.5325 GB, free: 4.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.533e-06/0.3158, allocations: 0 / 0.5325 GB, free: 4.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002491/0.3183, allocations: 1.165 MB / 0.5336 GB, free: 3.691 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.3183, allocations: 134.8 kB / 0.5338 GB, free: 3.535 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/0.3186, allocations: 0.5562 MB / 0.5343 GB, free: 3.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.3187, allocations: 36.55 kB / 0.5343 GB, free: 3.191 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.3188, allocations: 443.4 kB / 0.5348 GB, free: 2.816 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/0.3189, allocations: 146.5 kB / 0.5349 GB, free: 2.703 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.319, allocations: 166.5 kB / 0.5351 GB, free: 2.617 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.821e-05/0.3191, allocations: 0.5476 MB / 0.5356 GB, free: 2.094 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.3192, allocations: 93.31 kB / 0.5357 GB, free: 2.082 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.3195, allocations: 0.6394 MB / 0.5363 GB, free: 1.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004601/0.32, allocations: 0.7065 MB / 0.537 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.32, allocations: 2.438 kB / 0.537 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007318/0.3207, allocations: 0.6655 MB / 0.5376 GB, free: 380 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3207, allocations: 11.56 kB / 0.5377 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3207, allocations: 15.78 kB / 0.5377 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006632/0.3214, allocations: 254.6 kB / 0.5379 GB, free: 332 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.3216, allocations: 132.7 kB / 0.538 GB, free: 312 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006169/0.3222, allocations: 1.004 MB / 0.539 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.3225, allocations: 25.22 kB / 0.539 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/0.3225, allocations: 64.7 kB / 0.5391 GB, free: 15.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000166/0.3227, allocations: 202.4 kB / 0.5393 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.177e-05/0.3228, allocations: 80.5 kB / 0.5394 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007799/0.3235, allocations: 0.6861 MB / 0.5401 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3235, allocations: 2.781 kB / 0.5401 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3235, allocations: 6.719 kB / 0.5401 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.3236, allocations: 1.828 kB / 0.5401 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.3246, allocations: 0.9348 MB / 0.541 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3246, allocations: 0 / 0.541 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/0.3251, allocations: 200.7 kB / 0.5412 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.316e-05/0.3251, allocations: 31.55 kB / 0.5412 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.3252, allocations: 15.33 kB / 0.5412 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/0.3266, allocations: 3.553 MB / 0.5447 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3266, allocations: 0.875 kB / 0.5447 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006041/0.3272, allocations: 0.6016 MB / 0.5453 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.3274, allocations: 94.81 kB / 0.5454 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.3274, allocations: 13.06 kB / 0.5454 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.3276, allocations: 18.69 kB / 0.5454 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.3276, allocations: 39.45 kB / 0.5454 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.3277, allocations: 35.52 kB / 0.5455 GB, free: 10.26 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002356/0.3279, allocations: 343.8 kB / 0.5458 GB, free: 10.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3279, allocations: 0 / 0.5458 GB, free: 10.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006115/0.3285, allocations: 246.4 kB / 0.546 GB, free: 10.06 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0004331/0.3289, allocations: 280.8 kB / 0.5463 GB, free: 9.906 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006138/0.3296, allocations: 389.1 kB / 0.5467 GB, free: 9.809 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3296, allocations: 0 / 0.5467 GB, free: 9.809 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004931/0.3301, allocations: 386.3 kB / 0.547 GB, free: 9.598 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007554/0.3308, allocations: 326.9 kB / 0.5473 GB, free: 9.512 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.3324, allocations: 1.167 MB / 0.5485 GB, free: 8.766 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.3325, allocations: 170.2 kB / 0.5486 GB, free: 8.641 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005756/0.3331, allocations: 421.2 kB / 0.549 GB, free: 8.438 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.3333, allocations: 94.23 kB / 0.5491 GB, free: 8.41 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/0.3333, allocations: 3.125 kB / 0.5491 GB, free: 8.41 MB / 426.7 MB Notification: Performance of Templates: time 0.01763/0.3509, allocations: 16.37 MB / 0.5651 GB, free: 9.102 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.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.9009084571152925]