Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00136/0.00136, allocations: 91.33 kB / 20.43 MB, free: 4.141 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.001336/0.001336, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9926/0.9926, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1795/0.1795, allocations: 32.36 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 3.938 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.106e-05/3.329e-05, allocations: 8.219 kB / 347.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4114/0.4114, allocations: 147.1 MB / 494.8 MB, free: 9.133 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003097/0.4145, allocations: 2.612 MB / 497.4 MB, free: 8.344 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003218/0.4148, allocations: 34.97 kB / 497.4 MB, free: 8.32 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006334/0.4154, allocations: 211.8 kB / 497.6 MB, free: 8.176 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.4175, allocations: 1.231 MB / 498.8 MB, free: 7.414 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.4187, allocations: 0.8378 MB / 499.7 MB, free: 7.047 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.4202, allocations: 1.919 MB / 0.4898 GB, free: 5.965 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004662/0.4206, allocations: 428.5 kB / 0.4902 GB, free: 5.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001643/0.4223, allocations: 1.227 MB / 0.4914 GB, free: 4.926 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005881/0.4229, allocations: 0.5989 MB / 0.492 GB, free: 4.605 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.686e-05/0.423, allocations: 60.41 kB / 0.4921 GB, free: 4.605 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007934/0.4238, allocations: 471 kB / 0.4925 GB, free: 4.406 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.424, allocations: 289.2 kB / 0.4928 GB, free: 4.207 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002553/0.4242, allocations: 288.3 kB / 0.4931 GB, free: 4.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.4253, allocations: 1.007 MB / 0.4941 GB, free: 3.469 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.4253, allocations: 0 / 0.4941 GB, free: 3.469 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4253, allocations: 0 / 0.4941 GB, free: 3.469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.4253, allocations: 7.938 kB / 0.4941 GB, free: 3.461 MB / 362.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.001458/0.4268, allocations: 1.132 MB / 0.4952 GB, free: 2.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.4268, allocations: 12.38 kB / 0.4952 GB, free: 2.586 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005626/0.4274, allocations: 217.9 kB / 0.4954 GB, free: 2.477 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005718/0.428, allocations: 0.4909 MB / 0.4959 GB, free: 2.113 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.4281, allocations: 150.1 kB / 0.496 GB, free: 1.965 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.912e-05/0.4282, allocations: 57.64 kB / 0.4961 GB, free: 1.945 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007756/0.429, allocations: 1.007 MB / 0.4971 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.429, allocations: 10.94 kB / 0.4971 GB, free: 0.957 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.044e-05/0.429, allocations: 25.92 kB / 0.4971 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.084e-05/0.4291, allocations: 40.39 kB / 0.4971 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.4296, allocations: 306.3 kB / 0.4974 GB, free: 0.8164 MB / 362.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.002785/0.4323, allocations: 3.869 MB / 0.5012 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007493/0.4331, allocations: 224.8 kB / 0.5014 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.4332, allocations: 91.2 kB / 0.5015 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000259/0.4335, allocations: 126.6 kB / 0.5016 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.4335, allocations: 47.27 kB / 0.5017 GB, free: 13.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.103e-06/0.4335, allocations: 0 / 0.5017 GB, free: 13.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.002813/0.4363, allocations: 1.165 MB / 0.5028 GB, free: 12.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.4364, allocations: 136.5 kB / 0.5029 GB, free: 11.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004368/0.4368, allocations: 0.5608 MB / 0.5035 GB, free: 11.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.4369, allocations: 33.7 kB / 0.5035 GB, free: 11.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.4371, allocations: 434.9 kB / 0.5039 GB, free: 10.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.4372, allocations: 154.7 kB / 0.5041 GB, free: 10.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.4374, allocations: 164.2 kB / 0.5042 GB, free: 10.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.4376, allocations: 0.543 MB / 0.5048 GB, free: 10.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.4377, allocations: 93.92 kB / 0.5049 GB, free: 9.934 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004432/0.4381, allocations: 0.6454 MB / 0.5055 GB, free: 9.051 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006641/0.4388, allocations: 0.6926 MB / 0.5062 GB, free: 8.156 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.4388, allocations: 4 kB / 0.5062 GB, free: 8.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008715/0.4397, allocations: 0.6682 MB / 0.5068 GB, free: 7.473 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.4397, allocations: 8 kB / 0.5068 GB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.4397, allocations: 12 kB / 0.5068 GB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007423/0.4405, allocations: 255.3 kB / 0.5071 GB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.4407, allocations: 127.8 kB / 0.5072 GB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000891/0.4416, allocations: 1.007 MB / 0.5082 GB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.4419, allocations: 27.98 kB / 0.5082 GB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.932e-05/0.4419, allocations: 60 kB / 0.5083 GB, free: 5.953 MB / 378.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.0007093/0.4426, allocations: 208.3 kB / 0.5085 GB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.932e-05/0.4427, allocations: 83.56 kB / 0.5086 GB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007798/0.4435, allocations: 0.4899 MB / 0.509 GB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.4435, allocations: 4 kB / 0.509 GB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.4435, allocations: 0 / 0.509 GB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.4435, allocations: 3.984 kB / 0.509 GB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.4448, allocations: 1.021 MB / 0.51 GB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.4448, allocations: 4 kB / 0.51 GB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005277/0.4454, allocations: 191.8 kB / 0.5102 GB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.054e-05/0.4454, allocations: 27.8 kB / 0.5103 GB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.4455, allocations: 19.98 kB / 0.5103 GB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/0.4473, allocations: 3.562 MB / 0.5137 GB, free: 12 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4473, allocations: 3.984 kB / 0.5138 GB, free: 8 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006246/0.4479, allocations: 0.5777 MB / 0.5143 GB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.448, allocations: 103.5 kB / 0.5144 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.4481, allocations: 15.92 kB / 0.5144 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.4483, allocations: 16 kB / 0.5144 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.4483, allocations: 40.75 kB / 0.5145 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/0.4484, allocations: 35.98 kB / 0.5145 GB, free: 15.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002465/0.4486, allocations: 346.8 kB / 0.5148 GB, free: 14.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4486, allocations: 0 / 0.5148 GB, free: 14.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005964/0.4492, allocations: 247.8 kB / 0.5151 GB, free: 14.6 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.001211/0.4504, allocations: 292.5 kB / 0.5154 GB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006662/0.4511, allocations: 382.8 kB / 0.5157 GB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4511, allocations: 0 / 0.5157 GB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005149/0.4516, allocations: 385.5 kB / 0.5161 GB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008043/0.4524, allocations: 322.8 kB / 0.5164 GB, free: 13.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.4542, allocations: 1.131 MB / 0.5175 GB, free: 12.06 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.4543, allocations: 170.4 kB / 0.5177 GB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004117/0.4547, allocations: 217.3 kB / 0.5179 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.4549, allocations: 84.47 kB / 0.518 GB, free: 11.58 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.4549, allocations: 0 / 0.518 GB, free: 11.58 MB / 394.7 MB Notification: Performance of Templates: time 0.02018/0.4751, allocations: 16.6 MB / 0.5342 GB, free: 11.07 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.030327551998198]