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.001376/0.001376, allocations: 67.77 kB / 21.24 MB, free: 404 kB / 14.72 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.001518/0.001518, allocations: 168.5 kB / 24.5 MB, free: 3.453 MB / 14.72 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.465/1.465, allocations: 177.2 MB / 204.9 MB, free: 8.934 MB / 190.1 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.2104/0.2104, allocations: 34.28 MB / 295.5 MB, free: 14.59 MB / 286.1 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 0.002124/0.002124, allocations: 63.89 kB / 443.2 MB, free: 6.691 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3144, allocations: 66 MB / 0.4972 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.1916/0.506, allocations: 153.9 MB / 0.6475 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007964/0.514, allocations: 4.914 MB / 0.6523 GB, free: 6.449 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007736/0.5147, allocations: 35.69 kB / 0.6524 GB, free: 6.414 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009724/0.5157, allocations: 302 kB / 0.6526 GB, free: 6.117 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003741/0.5195, allocations: 1.282 MB / 0.6539 GB, free: 4.836 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.5221, allocations: 0.9855 MB / 0.6549 GB, free: 3.855 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002471/0.5246, allocations: 1.871 MB / 0.6567 GB, free: 1.977 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006538/0.5252, allocations: 389.6 kB / 0.6571 GB, free: 1.594 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00242/0.5277, allocations: 1.121 MB / 0.6581 GB, free: 480 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.5288, allocations: 0.6929 MB / 0.6588 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.5289, allocations: 60 kB / 0.6589 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.5304, allocations: 0.5462 MB / 0.6594 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003184/0.5307, allocations: 275.2 kB / 0.6597 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004257/0.5311, allocations: 334.6 kB / 0.66 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.533, allocations: 1.308 MB / 0.6613 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.533, allocations: 0 / 0.6613 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.533, allocations: 0 / 0.6613 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.533, allocations: 0 / 0.6613 GB, free: 13.26 MB / 0.5606 GB 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.002285/0.5353, allocations: 1.038 MB / 0.6623 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.5353, allocations: 12.03 kB / 0.6623 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008777/0.5362, allocations: 151.3 kB / 0.6624 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.5373, allocations: 477.3 kB / 0.6629 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/0.5375, allocations: 155.8 kB / 0.663 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.5376, allocations: 48 kB / 0.6631 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.5392, allocations: 1.14 MB / 0.6642 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.5392, allocations: 3.938 kB / 0.6642 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.638e-05/0.5393, allocations: 27.98 kB / 0.6642 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.479e-05/0.5393, allocations: 44.91 kB / 0.6643 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.5404, allocations: 0.6127 MB / 0.6649 GB, free: 9.328 MB / 0.5606 GB 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.004675/0.5451, allocations: 3.212 MB / 0.668 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006338/0.5458, allocations: 344.3 kB / 0.6683 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.546, allocations: 161.3 kB / 0.6685 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.395e-05/0.5461, allocations: 12.28 kB / 0.6685 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.5462, allocations: 38.84 kB / 0.6685 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/0.5462, allocations: 0 / 0.6685 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.00614/0.5523, allocations: 1.605 MB / 0.6701 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.5524, allocations: 140.4 kB / 0.6702 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007084/0.5531, allocations: 0.5299 MB / 0.6708 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.5532, allocations: 33.7 kB / 0.6708 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.5535, allocations: 388.2 kB / 0.6712 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.5537, allocations: 150.7 kB / 0.6713 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.5539, allocations: 154.6 kB / 0.6715 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.5541, allocations: 370.8 kB / 0.6718 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/0.5545, allocations: 201.9 kB / 0.672 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007572/0.5552, allocations: 0.5919 MB / 0.6726 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.5564, allocations: 0.7552 MB / 0.6733 GB, free: 120 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.5564, allocations: 0 / 0.6733 GB, free: 120 kB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001647/0.5581, allocations: 0.8724 MB / 0.6742 GB, free: 15.23 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.5581, allocations: 15.94 kB / 0.6742 GB, free: 15.22 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.5581, allocations: 8 kB / 0.6742 GB, free: 15.21 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.5596, allocations: 313.1 kB / 0.6745 GB, free: 14.9 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.56, allocations: 115.8 kB / 0.6746 GB, free: 14.79 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.5612, allocations: 0.949 MB / 0.6755 GB, free: 13.82 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.5617, allocations: 24 kB / 0.6756 GB, free: 13.79 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.5618, allocations: 67.98 kB / 0.6756 GB, free: 13.73 MB / 0.5763 GB 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.0003932/0.5622, allocations: 249.4 kB / 0.6759 GB, free: 13.47 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.5623, allocations: 59.62 kB / 0.6759 GB, free: 13.41 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/0.5641, allocations: 0.8502 MB / 0.6767 GB, free: 12.54 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.5641, allocations: 11.88 kB / 0.6768 GB, free: 12.53 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5641, allocations: 4 kB / 0.6768 GB, free: 12.53 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.5641, allocations: 3.984 kB / 0.6768 GB, free: 12.52 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.5661, allocations: 1.083 MB / 0.6778 GB, free: 11.38 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.5661, allocations: 7.938 kB / 0.6778 GB, free: 11.38 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.5672, allocations: 203.8 kB / 0.678 GB, free: 11.18 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001037/0.5673, allocations: 24.84 kB / 0.678 GB, free: 11.15 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/0.5673, allocations: 23.98 kB / 0.6781 GB, free: 11.12 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/0.5696, allocations: 2.629 MB / 0.6806 GB, free: 8.297 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5696, allocations: 320 / 0.6806 GB, free: 8.297 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.5709, allocations: 0.8222 MB / 0.6814 GB, free: 7.434 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/0.5712, allocations: 103.6 kB / 0.6815 GB, free: 7.332 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.66e-05/0.5713, allocations: 8 kB / 0.6815 GB, free: 7.324 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.5717, allocations: 15.98 kB / 0.6816 GB, free: 7.309 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.5718, allocations: 43.94 kB / 0.6816 GB, free: 7.266 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.782e-05/0.5719, allocations: 43.98 kB / 0.6816 GB, free: 7.223 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0004678/0.5723, allocations: 354.8 kB / 0.682 GB, free: 6.879 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5723, allocations: 0 / 0.682 GB, free: 6.879 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.000935/0.5733, allocations: 255.8 kB / 0.6822 GB, free: 6.629 MB / 0.5763 GB 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 (39): * Single equations (assignments): 37 * 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.0006819/0.574, allocations: 290.1 kB / 0.6825 GB, free: 6.34 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.001224/0.5752, allocations: 0.5315 MB / 0.683 GB, free: 5.809 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5752, allocations: 4 kB / 0.683 GB, free: 5.805 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.5762, allocations: 410.2 kB / 0.6834 GB, free: 5.391 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.5777, allocations: 312.1 kB / 0.6837 GB, free: 5.094 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.5802, allocations: 1.333 MB / 0.685 GB, free: 3.715 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.5806, allocations: 340.3 kB / 0.6853 GB, free: 3.355 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.001014/0.5816, allocations: 438.4 kB / 0.6858 GB, free: 2.926 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/0.582, allocations: 116.4 kB / 0.6859 GB, free: 2.812 MB / 0.5763 GB Notification: Performance of SimCode: time 5.71e-07/0.582, allocations: 0 / 0.6859 GB, free: 2.812 MB / 0.5763 GB Notification: Performance of Templates: time 0.2515/0.8334, allocations: 15.75 MB / 0.7012 GB, free: 165.1 MB / 0.5763 GB " [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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/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: 6.02189521305263]