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.001812/0.001812, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002047/0.002047, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.493/1.493, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3457/0.3457, allocations: 34.26 MB / 295.3 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 179] 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.164e-06/2.164e-06, allocations: 0 / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.894e-05/5.111e-05, allocations: 2.312 kB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3994/0.3995, allocations: 153.8 MB / 0.5187 GB, free: 9.738 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005914/0.4054, allocations: 4.92 MB / 0.5235 GB, free: 6.422 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005114/0.4059, allocations: 29.19 kB / 0.5235 GB, free: 6.406 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008917/0.4068, allocations: 305.9 kB / 0.5238 GB, free: 6.242 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002867/0.4097, allocations: 1.318 MB / 0.5251 GB, free: 5.523 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.4118, allocations: 1.005 MB / 0.5261 GB, free: 5.016 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001744/0.4135, allocations: 1.883 MB / 0.5279 GB, free: 4.152 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004529/0.414, allocations: 418.8 kB / 0.5283 GB, free: 3.895 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.416, allocations: 1.345 MB / 0.5296 GB, free: 3.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007815/0.4167, allocations: 0.6407 MB / 0.5302 GB, free: 3.125 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.4168, allocations: 61.94 kB / 0.5303 GB, free: 3.125 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.4179, allocations: 0.5558 MB / 0.5308 GB, free: 2.973 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.4181, allocations: 287.9 kB / 0.5311 GB, free: 2.836 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002847/0.4184, allocations: 280.6 kB / 0.5314 GB, free: 2.734 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.4198, allocations: 1.386 MB / 0.5327 GB, free: 2.262 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.4198, allocations: 0 / 0.5327 GB, free: 2.262 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4198, allocations: 2.656 kB / 0.5327 GB, free: 2.262 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.4198, allocations: 0 / 0.5327 GB, free: 2.262 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.001916/0.4217, allocations: 1.035 MB / 0.5338 GB, free: 1.594 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.4217, allocations: 11.22 kB / 0.5338 GB, free: 1.594 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008919/0.4226, allocations: 229.8 kB / 0.534 GB, free: 1.492 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007087/0.4233, allocations: 0.4935 MB / 0.5345 GB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.4234, allocations: 160.9 kB / 0.5346 GB, free: 1.043 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.4235, allocations: 53.94 kB / 0.5347 GB, free: 1.027 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.4246, allocations: 1.141 MB / 0.5358 GB, free: 124 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.4246, allocations: 10.64 kB / 0.5358 GB, free: 116 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.516e-05/0.4247, allocations: 28.39 kB / 0.5358 GB, free: 96 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.851e-05/0.4248, allocations: 39.45 kB / 0.5359 GB, free: 84 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.4258, allocations: 0.6152 MB / 0.5365 GB, free: 15.78 MB / 426.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.004934/0.4307, allocations: 3.217 MB / 0.5396 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.4314, allocations: 342.2 kB / 0.5399 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.4316, allocations: 158.1 kB / 0.5401 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-05/0.4317, allocations: 10.94 kB / 0.5401 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/0.4318, allocations: 47.67 kB / 0.5401 GB, free: 12.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.4318, allocations: 4 kB / 0.5401 GB, free: 12.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.005522/0.4373, allocations: 1.572 MB / 0.5417 GB, free: 11.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.4374, allocations: 133.3 kB / 0.5418 GB, free: 11.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006962/0.4381, allocations: 0.5303 MB / 0.5423 GB, free: 11.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.415e-05/0.4382, allocations: 38.89 kB / 0.5424 GB, free: 11.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00035/0.4385, allocations: 384.1 kB / 0.5427 GB, free: 10.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.4387, allocations: 145.5 kB / 0.5429 GB, free: 10.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.4389, allocations: 155.7 kB / 0.543 GB, free: 10.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002488/0.4392, allocations: 368.1 kB / 0.5434 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003804/0.4396, allocations: 204.6 kB / 0.5436 GB, free: 10.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007953/0.4404, allocations: 0.5862 MB / 0.5441 GB, free: 9.703 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.4414, allocations: 0.7421 MB / 0.5449 GB, free: 9.078 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4415, allocations: 2.375 kB / 0.5449 GB, free: 9.078 MB / 426.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001533/0.443, allocations: 0.892 MB / 0.5457 GB, free: 8.621 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.443, allocations: 10.88 kB / 0.5457 GB, free: 8.621 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.443, allocations: 10.88 kB / 0.5458 GB, free: 8.621 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/0.4444, allocations: 297.4 kB / 0.546 GB, free: 8.496 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.4448, allocations: 124.8 kB / 0.5462 GB, free: 8.465 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.4461, allocations: 0.925 MB / 0.5471 GB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004793/0.4466, allocations: 28.55 kB / 0.5471 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.439e-05/0.4467, allocations: 63.08 kB / 0.5471 GB, free: 7.715 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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.0004026/0.4471, allocations: 252.8 kB / 0.5474 GB, free: 7.516 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.4472, allocations: 72.97 kB / 0.5475 GB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/0.4488, allocations: 0.8169 MB / 0.5483 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.4488, allocations: 5.062 kB / 0.5483 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.4488, allocations: 0 / 0.5483 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.4488, allocations: 3.984 kB / 0.5483 GB, free: 7.012 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002506/0.4513, allocations: 1.061 MB / 0.5493 GB, free: 6.047 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.4513, allocations: 0 / 0.5493 GB, free: 6.047 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.4525, allocations: 208 kB / 0.5495 GB, free: 5.844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001296/0.4526, allocations: 20.78 kB / 0.5495 GB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/0.4526, allocations: 23.98 kB / 0.5495 GB, free: 5.797 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00263/0.4553, allocations: 2.62 MB / 0.5521 GB, free: 2.977 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.4553, allocations: 7.969 kB / 0.5521 GB, free: 2.969 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.4569, allocations: 0.7984 MB / 0.5529 GB, free: 2.133 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/0.4572, allocations: 103.6 kB / 0.553 GB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-05/0.4573, allocations: 8.312 kB / 0.553 GB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003935/0.4577, allocations: 23.92 kB / 0.553 GB, free: 2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.4578, allocations: 39.94 kB / 0.5531 GB, free: 1.961 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.911e-05/0.4579, allocations: 31.98 kB / 0.5531 GB, free: 1.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005221/0.4584, allocations: 358.8 kB / 0.5534 GB, free: 1.582 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4584, allocations: 0 / 0.5534 GB, free: 1.582 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00102/0.4594, allocations: 255.7 kB / 0.5537 GB, free: 1.332 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.0007386/0.4601, allocations: 299.9 kB / 0.554 GB, free: 1.031 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.4614, allocations: 0.5146 MB / 0.5545 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4614, allocations: 0 / 0.5545 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.4625, allocations: 404.1 kB / 0.5548 GB, free: 112 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.4641, allocations: 321.2 kB / 0.5551 GB, free: 15.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.4667, allocations: 1.247 MB / 0.5564 GB, free: 14.53 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.4671, allocations: 332.3 kB / 0.5567 GB, free: 14.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001038/0.4681, allocations: 432.2 kB / 0.5571 GB, free: 13.76 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003167/0.4685, allocations: 104.4 kB / 0.5572 GB, free: 13.66 MB / 442.7 MB Notification: Performance of SimCode: time 7.81e-07/0.4685, allocations: 0 / 0.5572 GB, free: 13.66 MB / 442.7 MB Notification: Performance of Templates: time 0.03003/0.4985, allocations: 15.38 MB / 0.5722 GB, free: 14.51 MB / 458.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.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.9955791959073395]