Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.001095/0.001095, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001242/0.001242, allocations: 161.5 kB / 25.61 MB, free: 8.582 MB / 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.9508/0.9508, allocations: 177.2 MB / 206.1 MB, free: 4.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1458/0.1458, allocations: 32.81 MB / 295.4 MB, free: 15.38 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.796e-05, allocations: 2.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3448/0.3448, allocations: 146 MB / 0.511 GB, free: 16.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003455/0.3483, allocations: 2.59 MB / 0.5135 GB, free: 16.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003541/0.3487, allocations: 30.66 kB / 0.5136 GB, free: 16.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004688/0.3491, allocations: 212.9 kB / 0.5138 GB, free: 16.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002038/0.3512, allocations: 1.187 MB / 0.5149 GB, free: 16.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.3524, allocations: 0.8263 MB / 0.5157 GB, free: 16.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.3537, allocations: 1.921 MB / 0.5176 GB, free: 16.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003766/0.3541, allocations: 422.4 kB / 0.518 GB, free: 16.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.3554, allocations: 1.252 MB / 0.5192 GB, free: 16.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000581/0.356, allocations: 0.5968 MB / 0.5198 GB, free: 16.4 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.539e-05/0.356, allocations: 57.25 kB / 0.5199 GB, free: 16.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005649/0.3566, allocations: 454.6 kB / 0.5203 GB, free: 16.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.3568, allocations: 278.8 kB / 0.5206 GB, free: 16.35 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.357, allocations: 281.5 kB / 0.5208 GB, free: 16.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008458/0.3578, allocations: 1.002 MB / 0.5218 GB, free: 16.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.3578, allocations: 0 / 0.5218 GB, free: 16.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.3578, allocations: 3.406 kB / 0.5218 GB, free: 16.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.3578, allocations: 0 / 0.5218 GB, free: 16.21 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.001169/0.359, allocations: 1.121 MB / 0.5229 GB, free: 15.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.359, allocations: 11.61 kB / 0.5229 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004965/0.3595, allocations: 217.2 kB / 0.5231 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/0.36, allocations: 482.3 kB / 0.5236 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.615e-05/0.3601, allocations: 153.2 kB / 0.5237 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.371e-05/0.3601, allocations: 59.62 kB / 0.5238 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005424/0.3607, allocations: 0.9409 MB / 0.5247 GB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.3607, allocations: 6.5 kB / 0.5247 GB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.554e-05/0.3607, allocations: 23.64 kB / 0.5247 GB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-05/0.3608, allocations: 38.17 kB / 0.5248 GB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.3611, allocations: 261.8 kB / 0.525 GB, free: 14.41 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.001942/0.363, allocations: 3.77 MB / 0.5287 GB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.3633, allocations: 190.4 kB / 0.5289 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.621e-05/0.3633, allocations: 79.64 kB / 0.529 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.633e-05/0.3634, allocations: 18.56 kB / 0.529 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.3634, allocations: 46.22 kB / 0.529 GB, free: 11.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.483e-06/0.3634, allocations: 4 kB / 0.529 GB, free: 11.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002208/0.3656, allocations: 0.987 MB / 0.53 GB, free: 11.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.3657, allocations: 133.6 kB / 0.5301 GB, free: 10.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.366, allocations: 0.5471 MB / 0.5307 GB, free: 10.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.366, allocations: 34.73 kB / 0.5307 GB, free: 10.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.3662, allocations: 447.7 kB / 0.5311 GB, free: 10.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.914e-05/0.3663, allocations: 151.4 kB / 0.5313 GB, free: 10.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.3664, allocations: 170.5 kB / 0.5314 GB, free: 10.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3666, allocations: 0.5492 MB / 0.532 GB, free: 9.754 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.3667, allocations: 74.67 kB / 0.532 GB, free: 9.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.367, allocations: 0.6334 MB / 0.5327 GB, free: 9.039 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/0.3675, allocations: 0.6721 MB / 0.5333 GB, free: 8.445 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3675, allocations: 6.812 kB / 0.5333 GB, free: 8.441 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006376/0.3681, allocations: 0.6204 MB / 0.5339 GB, free: 8.344 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3682, allocations: 13.31 kB / 0.5339 GB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.3682, allocations: 11.16 kB / 0.534 GB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005915/0.3688, allocations: 248 kB / 0.5342 GB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.369, allocations: 132.8 kB / 0.5343 GB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004897/0.3695, allocations: 0.9846 MB / 0.5353 GB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.3697, allocations: 26.17 kB / 0.5353 GB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/0.3697, allocations: 55.86 kB / 0.5354 GB, free: 7.516 MB / 410.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.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[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.0001377/0.3699, allocations: 213.4 kB / 0.5356 GB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.019e-05/0.3699, allocations: 79.64 kB / 0.5356 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006931/0.3706, allocations: 0.6556 MB / 0.5363 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3706, allocations: 6.969 kB / 0.5363 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3706, allocations: 5.75 kB / 0.5363 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3707, allocations: 2.531 kB / 0.5363 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007662/0.3714, allocations: 0.8263 MB / 0.5371 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3714, allocations: 3.438 kB / 0.5371 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004462/0.3719, allocations: 173.7 kB / 0.5373 GB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.269e-05/0.3719, allocations: 26.45 kB / 0.5373 GB, free: 6.809 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.372, allocations: 18.06 kB / 0.5373 GB, free: 6.809 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007964/0.3728, allocations: 3.521 MB / 0.5407 GB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3728, allocations: 3.938 kB / 0.5407 GB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004443/0.3732, allocations: 0.5696 MB / 0.5413 GB, free: 2.969 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.3733, allocations: 93.72 kB / 0.5414 GB, free: 2.934 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.3734, allocations: 10.89 kB / 0.5414 GB, free: 2.934 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.3735, allocations: 18.25 kB / 0.5414 GB, free: 2.934 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.3736, allocations: 38.03 kB / 0.5415 GB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.3736, allocations: 35.02 kB / 0.5415 GB, free: 2.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001645/0.3738, allocations: 323.8 kB / 0.5418 GB, free: 2.801 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3738, allocations: 0 / 0.5418 GB, free: 2.801 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005098/0.3743, allocations: 254.2 kB / 0.542 GB, free: 2.785 MB / 410.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.0003778/0.3747, allocations: 257.2 kB / 0.5423 GB, free: 2.676 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004509/0.3751, allocations: 358.9 kB / 0.5426 GB, free: 2.648 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3751, allocations: 2.906 kB / 0.5426 GB, free: 2.648 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000382/0.3755, allocations: 361.3 kB / 0.543 GB, free: 2.465 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007408/0.3762, allocations: 329.4 kB / 0.5433 GB, free: 2.426 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.3776, allocations: 1.144 MB / 0.5444 GB, free: 1.805 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.184e-05/0.3777, allocations: 167.4 kB / 0.5446 GB, free: 1.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004762/0.3781, allocations: 362.6 kB / 0.5449 GB, free: 1.656 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005187/0.3787, allocations: 381.5 kB / 0.5453 GB, free: 1.578 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.3787, allocations: 0 / 0.5453 GB, free: 1.578 MB / 410.7 MB Notification: Performance of Templates: time 0.01838/0.397, allocations: 16.83 MB / 0.5617 GB, free: 7.051 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.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: 4.025248894933611]