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.001277/0.001277, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001915/0.003191, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001043/0.001043, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001193/0.002236, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.047/1.047, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1452/1.192, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.347/0.347, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03512/0.3821, allocations: 12.53 MB / 289.3 MB, free: 8.668 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.873e-06/1.873e-06, allocations: 0 / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.472e-05, allocations: 8.422 kB / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.1747/0.1748, allocations: 148.6 MB / 439.2 MB, free: 3.137 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004852/0.1796, allocations: 2.675 MB / 441.9 MB, free: 464 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007117/0.1803, allocations: 27.75 kB / 441.9 MB, free: 436 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005949/0.1809, allocations: 218.5 kB / 442.1 MB, free: 216 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2581/0.439, allocations: 1.138 MB / 443.2 MB, free: 3.922 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002208/0.4412, allocations: 0.8083 MB / 444.1 MB, free: 3.922 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002869/0.4441, allocations: 1.944 MB / 446 MB, free: 3.922 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007595/0.4448, allocations: 416.3 kB / 446.4 MB, free: 3.902 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002618/0.4474, allocations: 1.286 MB / 447.7 MB, free: 3.875 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009969/0.4484, allocations: 0.559 MB / 448.3 MB, free: 3.875 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.4486, allocations: 58.81 kB / 448.3 MB, free: 3.875 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.4498, allocations: 486.5 kB / 448.8 MB, free: 3.867 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002755/0.4501, allocations: 232.1 kB / 449 MB, free: 3.867 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004093/0.4505, allocations: 228.4 kB / 449.2 MB, free: 3.867 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.4519, allocations: 0.8729 MB / 450.1 MB, free: 3.797 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.758e-05/0.4519, allocations: 3 kB / 450.1 MB, free: 3.797 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4519, allocations: 0 / 450.1 MB, free: 3.797 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.702e-05/0.4519, allocations: 0.75 kB / 450.1 MB, free: 3.797 MB / 426.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.002247/0.4542, allocations: 1.24 MB / 451.4 MB, free: 19.21 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.4542, allocations: 9 kB / 451.4 MB, free: 19.21 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007166/0.4549, allocations: 213 kB / 451.6 MB, free: 19.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006654/0.4556, allocations: 418.1 kB / 452 MB, free: 18.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.4557, allocations: 154.2 kB / 452.1 MB, free: 18.85 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.753e-05/0.4558, allocations: 54.25 kB / 452.2 MB, free: 18.85 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008022/0.4566, allocations: 0.8896 MB / 453.1 MB, free: 18.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.4566, allocations: 3.953 kB / 453.1 MB, free: 18.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.341e-05/0.4567, allocations: 28.53 kB / 453.1 MB, free: 18.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.389e-05/0.4567, allocations: 43.56 kB / 453.1 MB, free: 18.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003883/0.4571, allocations: 222.5 kB / 453.4 MB, free: 18.18 MB / 442.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.002681/0.4598, allocations: 2.65 MB / 456 MB, free: 16.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.4601, allocations: 170 kB / 456.2 MB, free: 16.28 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.353e-05/0.4602, allocations: 64.25 kB / 456.2 MB, free: 16.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/0.4603, allocations: 38.98 kB / 456.3 MB, free: 16.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.4604, allocations: 39.84 kB / 456.3 MB, free: 16.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 2.024e-06/0.4604, allocations: 2.906 kB / 456.3 MB, free: 16.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.002639/0.463, allocations: 0.9117 MB / 457.2 MB, free: 15.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.463, allocations: 56.72 kB / 457.3 MB, free: 15.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/0.4634, allocations: 493.5 kB / 457.8 MB, free: 15.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.4634, allocations: 32.27 kB / 457.8 MB, free: 15.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.4636, allocations: 341.8 kB / 458.1 MB, free: 15.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.683e-05/0.4637, allocations: 151.9 kB / 458.3 MB, free: 15.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.4639, allocations: 145 kB / 458.4 MB, free: 15.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.464, allocations: 378.1 kB / 458.8 MB, free: 14.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.4641, allocations: 64.27 kB / 458.9 MB, free: 14.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.4644, allocations: 495.9 kB / 459.3 MB, free: 14.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004752/0.4649, allocations: 0.529 MB / 459.9 MB, free: 14.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4649, allocations: 0 / 459.9 MB, free: 14.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007124/0.4656, allocations: 497.2 kB / 460.4 MB, free: 14.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.4656, allocations: 11.97 kB / 460.4 MB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.4656, allocations: 12.41 kB / 460.4 MB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006749/0.4663, allocations: 214.2 kB / 460.6 MB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.4666, allocations: 145 kB / 460.7 MB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005468/0.4672, allocations: 0.6782 MB / 461.4 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.4675, allocations: 27.28 kB / 461.4 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.076e-05/0.4676, allocations: 51.06 kB / 461.5 MB, free: 13.5 MB / 442.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.0001947/0.4678, allocations: 165.4 kB / 461.6 MB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.707e-05/0.4678, allocations: 52.62 kB / 461.7 MB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007834/0.4686, allocations: 0.5732 MB / 462.3 MB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4686, allocations: 2.312 kB / 462.3 MB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4686, allocations: 3.969 kB / 462.3 MB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.4686, allocations: 3 kB / 462.3 MB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.4697, allocations: 0.7219 MB / 463 MB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4698, allocations: 6.875 kB / 463 MB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006451/0.4704, allocations: 193.5 kB / 463.2 MB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.4705, allocations: 74 kB / 463.3 MB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.862e-05/0.4706, allocations: 18.95 kB / 463.3 MB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.4707, allocations: 16.16 kB / 463.3 MB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/0.4724, allocations: 2.406 MB / 465.7 MB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.4724, allocations: 8.984 kB / 465.7 MB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005449/0.4729, allocations: 469 kB / 466.2 MB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.087e-05/0.473, allocations: 9.781 kB / 466.2 MB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.4732, allocations: 19.12 kB / 466.2 MB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.4733, allocations: 33.92 kB / 466.2 MB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/0.4733, allocations: 27.5 kB / 466.3 MB, free: 10.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001949/0.4735, allocations: 204.7 kB / 466.5 MB, free: 10.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4735, allocations: 1.062 kB / 466.5 MB, free: 10.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007944/0.4743, allocations: 241.2 kB / 466.7 MB, free: 10.29 MB / 442.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.0004582/0.4748, allocations: 231.8 kB / 466.9 MB, free: 10.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005851/0.4753, allocations: 325.3 kB / 467.2 MB, free: 10.19 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.74e-05/0.4754, allocations: 12.06 kB / 467.3 MB, free: 10.19 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004743/0.4758, allocations: 304 kB / 467.6 MB, free: 10.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009596/0.4768, allocations: 398.1 kB / 467.9 MB, free: 10.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/0.4929, allocations: 1.146 MB / 469.1 MB, free: 9.453 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.493, allocations: 174 kB / 469.3 MB, free: 9.375 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007418/0.4938, allocations: 358.1 kB / 469.6 MB, free: 9.336 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005199/0.4943, allocations: 318.8 kB / 469.9 MB, free: 9.277 MB / 442.7 MB Notification: Performance of SimCode: time 1.733e-06/0.4943, allocations: 0 / 469.9 MB, free: 9.277 MB / 442.7 MB Notification: Performance of Templates: time 0.02136/0.5157, allocations: 16.53 MB / 486.5 MB, free: 7.211 MB / 442.7 MB " [Timeout remaining time 659] 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 -ignoreHideResult -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: 3.9690749840810895]