Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001003/0.001003, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.001156/0.001156, allocations: 168 kB / 25.61 MB, free: 8.59 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.9666/0.9666, allocations: 177.1 MB / 206 MB, free: 4.504 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.1414/0.1414, allocations: 32.79 MB / 295.4 MB, free: 15.4 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.Air,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.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,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.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.442e-05/3.714e-05, allocations: 4.719 kB / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3601/0.3601, allocations: 146 MB / 0.511 GB, free: 16.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004255/0.3643, allocations: 2.579 MB / 0.5135 GB, free: 16.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007237/0.3651, allocations: 30.16 kB / 0.5135 GB, free: 16.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006117/0.3657, allocations: 210.1 kB / 0.5137 GB, free: 16.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002621/0.3683, allocations: 1.095 MB / 0.5148 GB, free: 16.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.37, allocations: 0.8272 MB / 0.5156 GB, free: 16.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002266/0.3723, allocations: 1.912 MB / 0.5175 GB, free: 16.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006666/0.373, allocations: 414 kB / 0.5179 GB, free: 16.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.3748, allocations: 1.155 MB / 0.519 GB, free: 16.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008462/0.3756, allocations: 0.5911 MB / 0.5196 GB, free: 16.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.3758, allocations: 58.53 kB / 0.5196 GB, free: 16.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009025/0.3767, allocations: 453.9 kB / 0.5201 GB, free: 16.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002264/0.3769, allocations: 286.1 kB / 0.5203 GB, free: 16.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002982/0.3772, allocations: 281.7 kB / 0.5206 GB, free: 16.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.3785, allocations: 0.9938 MB / 0.5216 GB, free: 16.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3785, allocations: 0 / 0.5216 GB, free: 16.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3785, allocations: 0 / 0.5216 GB, free: 16.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.56e-05/0.3785, allocations: 4 kB / 0.5216 GB, free: 16.29 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.001495/0.38, allocations: 1.12 MB / 0.5227 GB, free: 15.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3801, allocations: 20.23 kB / 0.5227 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005373/0.3806, allocations: 212.2 kB / 0.5229 GB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005437/0.3811, allocations: 483.2 kB / 0.5234 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.485e-05/0.3812, allocations: 154.5 kB / 0.5235 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.572e-05/0.3813, allocations: 58.59 kB / 0.5236 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006078/0.3819, allocations: 0.9407 MB / 0.5245 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.3819, allocations: 7.188 kB / 0.5245 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.014e-05/0.382, allocations: 24.38 kB / 0.5245 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.783e-05/0.382, allocations: 37.84 kB / 0.5245 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.3824, allocations: 252.4 kB / 0.5248 GB, free: 14.49 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.002101/0.3845, allocations: 3.774 MB / 0.5285 GB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.3847, allocations: 197.5 kB / 0.5287 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.439e-05/0.3848, allocations: 76.42 kB / 0.5287 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.911e-05/0.3849, allocations: 14.28 kB / 0.5287 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.3849, allocations: 46.98 kB / 0.5288 GB, free: 11.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.255e-06/0.3849, allocations: 0 / 0.5288 GB, free: 11.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002383/0.3873, allocations: 0.994 MB / 0.5298 GB, free: 11.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.3873, allocations: 133.5 kB / 0.5299 GB, free: 10.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.3876, allocations: 0.5435 MB / 0.5304 GB, free: 10.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.3876, allocations: 38.73 kB / 0.5304 GB, free: 10.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.3878, allocations: 440.4 kB / 0.5309 GB, free: 10.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.959e-05/0.3879, allocations: 153 kB / 0.531 GB, free: 10.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.388, allocations: 172.2 kB / 0.5312 GB, free: 10.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.56e-05/0.3881, allocations: 0.5514 MB / 0.5317 GB, free: 9.832 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.3882, allocations: 76.88 kB / 0.5318 GB, free: 9.828 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.3884, allocations: 0.6243 MB / 0.5324 GB, free: 9.121 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004166/0.3889, allocations: 0.6679 MB / 0.5331 GB, free: 8.531 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.3889, allocations: 6.219 kB / 0.5331 GB, free: 8.527 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006502/0.3895, allocations: 0.6266 MB / 0.5337 GB, free: 8.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.3895, allocations: 11.5 kB / 0.5337 GB, free: 8.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.3895, allocations: 13.09 kB / 0.5337 GB, free: 8.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006404/0.3902, allocations: 245.9 kB / 0.5339 GB, free: 8.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.3904, allocations: 131.6 kB / 0.5341 GB, free: 8.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000485/0.3909, allocations: 0.9809 MB / 0.535 GB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.3911, allocations: 28.88 kB / 0.535 GB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.206e-05/0.3912, allocations: 56.31 kB / 0.5351 GB, free: 7.602 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.0001576/0.3913, allocations: 208.7 kB / 0.5353 GB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.382e-05/0.3914, allocations: 83.02 kB / 0.5354 GB, free: 7.398 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007484/0.3922, allocations: 0.6669 MB / 0.536 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3922, allocations: 2.219 kB / 0.536 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3922, allocations: 3.094 kB / 0.536 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.3922, allocations: 2.766 kB / 0.536 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008986/0.3931, allocations: 0.8252 MB / 0.5368 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3931, allocations: 2.672 kB / 0.5368 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/0.3935, allocations: 172.4 kB / 0.537 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.641e-05/0.3936, allocations: 25.7 kB / 0.537 GB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.3937, allocations: 20.05 kB / 0.537 GB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.3947, allocations: 3.518 MB / 0.5405 GB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3947, allocations: 3.625 kB / 0.5405 GB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005025/0.3952, allocations: 0.565 MB / 0.541 GB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.3953, allocations: 103.5 kB / 0.5411 GB, free: 3.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.3954, allocations: 11.97 kB / 0.5411 GB, free: 3.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.3956, allocations: 15.69 kB / 0.5412 GB, free: 3.016 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.3956, allocations: 44.81 kB / 0.5412 GB, free: 3.012 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/0.3957, allocations: 33.86 kB / 0.5412 GB, free: 3.012 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001819/0.3958, allocations: 319.5 kB / 0.5415 GB, free: 2.883 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3958, allocations: 0 / 0.5415 GB, free: 2.883 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006653/0.3965, allocations: 251.2 kB / 0.5418 GB, free: 2.871 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.0004342/0.3969, allocations: 264 kB / 0.542 GB, free: 2.758 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005334/0.3975, allocations: 361.6 kB / 0.5424 GB, free: 2.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3975, allocations: 0 / 0.5424 GB, free: 2.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004415/0.3979, allocations: 356.9 kB / 0.5427 GB, free: 2.551 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008386/0.3988, allocations: 328.2 kB / 0.543 GB, free: 2.508 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.4004, allocations: 1.151 MB / 0.5442 GB, free: 1.875 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.4005, allocations: 167.4 kB / 0.5443 GB, free: 1.801 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005768/0.4011, allocations: 371.9 kB / 0.5447 GB, free: 1.723 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005488/0.4016, allocations: 376.7 kB / 0.545 GB, free: 1.648 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/0.4016, allocations: 0 / 0.545 GB, free: 1.648 MB / 410.7 MB Notification: Performance of Templates: time 0.02029/0.4219, allocations: 16.77 MB / 0.5614 GB, free: 7.23 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9853010489605367]