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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 101.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 242.4 MB, free: 15.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1939/0.1939, allocations: 44.17 MB / 336.8 MB, free: 2.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001377, allocations: 68.47 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1017, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3654/0.4672, allocations: 172.5 MB / 0.6267 GB, free: 4.555 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006768/0.474, allocations: 5.479 MB / 0.632 GB, free: 15.06 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007257/0.4748, allocations: 23.81 kB / 0.632 GB, free: 15.04 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008497/0.4757, allocations: 278.5 kB / 0.6323 GB, free: 14.77 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00295/0.4786, allocations: 1.209 MB / 0.6335 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.4811, allocations: 0.9492 MB / 0.6344 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00261/0.4837, allocations: 2.714 MB / 0.6371 GB, free: 9.895 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006201/0.4843, allocations: 408.1 kB / 0.6375 GB, free: 9.492 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/0.4863, allocations: 0.9573 MB / 0.6384 GB, free: 8.531 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.4876, allocations: 0.7706 MB / 0.6391 GB, free: 7.758 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.4878, allocations: 36 kB / 0.6392 GB, free: 7.723 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.4892, allocations: 0.5304 MB / 0.6397 GB, free: 7.191 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003064/0.4895, allocations: 243.2 kB / 0.6399 GB, free: 6.953 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005132/0.49, allocations: 366.2 kB / 0.6403 GB, free: 6.594 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.4912, allocations: 0.9628 MB / 0.6412 GB, free: 5.629 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4912, allocations: 4 kB / 0.6412 GB, free: 5.625 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4912, allocations: 0 / 0.6412 GB, free: 5.625 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.315e-05/0.4912, allocations: 4 kB / 0.6412 GB, free: 5.621 MB / 478.1 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.002452/0.4937, allocations: 1.103 MB / 0.6423 GB, free: 4.465 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.4938, allocations: 11.97 kB / 0.6423 GB, free: 4.453 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008814/0.4946, allocations: 139 kB / 0.6424 GB, free: 4.316 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008015/0.4955, allocations: 0.4964 MB / 0.6429 GB, free: 3.781 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.4956, allocations: 100.4 kB / 0.643 GB, free: 3.668 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.4957, allocations: 51.91 kB / 0.6431 GB, free: 3.617 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.497, allocations: 0.8213 MB / 0.6439 GB, free: 2.723 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.497, allocations: 0 / 0.6439 GB, free: 2.723 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-05/0.4971, allocations: 24 kB / 0.6439 GB, free: 2.699 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.532e-05/0.4972, allocations: 44.78 kB / 0.6439 GB, free: 2.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.4982, allocations: 0.6243 MB / 0.6445 GB, free: 2.035 MB / 478.1 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.004424/0.5027, allocations: 3.965 MB / 0.6484 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005724/0.5033, allocations: 351.6 kB / 0.6488 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.5035, allocations: 173.3 kB / 0.6489 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.5037, allocations: 89.38 kB / 0.649 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.5037, allocations: 46.78 kB / 0.6491 GB, free: 13.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.104e-06/0.5037, allocations: 0 / 0.6491 GB, free: 13.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005668/0.5094, allocations: 1.666 MB / 0.6507 GB, free: 11.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.5095, allocations: 148.4 kB / 0.6508 GB, free: 11.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007223/0.5102, allocations: 0.6094 MB / 0.6514 GB, free: 10.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.5103, allocations: 37.7 kB / 0.6515 GB, free: 10.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.5105, allocations: 362.8 kB / 0.6518 GB, free: 10.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.5107, allocations: 142.1 kB / 0.6519 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.5109, allocations: 158.4 kB / 0.6521 GB, free: 9.895 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.511, allocations: 378.8 kB / 0.6524 GB, free: 9.516 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/0.5114, allocations: 201.9 kB / 0.6526 GB, free: 9.316 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/0.512, allocations: 0.5164 MB / 0.6531 GB, free: 8.652 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009346/0.5129, allocations: 0.7484 MB / 0.6539 GB, free: 7.766 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.5129, allocations: 8 kB / 0.6539 GB, free: 7.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001486/0.5144, allocations: 0.88 MB / 0.6547 GB, free: 6.867 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.5145, allocations: 18.75 kB / 0.6548 GB, free: 6.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.5145, allocations: 10.62 kB / 0.6548 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/0.5159, allocations: 315 kB / 0.6551 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.5163, allocations: 123.8 kB / 0.6552 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.5174, allocations: 0.9231 MB / 0.6561 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005829/0.518, allocations: 55.88 kB / 0.6561 GB, free: 5.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.289e-05/0.5181, allocations: 67.98 kB / 0.6562 GB, free: 5.344 MB / 494.1 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.0003579/0.5185, allocations: 250 kB / 0.6564 GB, free: 5.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.5186, allocations: 63.25 kB / 0.6565 GB, free: 5.027 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.5203, allocations: 0.8679 MB / 0.6574 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.5204, allocations: 4 kB / 0.6574 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5204, allocations: 0 / 0.6574 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.5204, allocations: 7.984 kB / 0.6574 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.5225, allocations: 1.461 MB / 0.6588 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.5225, allocations: 4 kB / 0.6588 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.5236, allocations: 207.8 kB / 0.659 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.339e-05/0.5237, allocations: 29.03 kB / 0.659 GB, free: 2.297 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-05/0.5237, allocations: 23.98 kB / 0.659 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.5257, allocations: 2.676 MB / 0.6617 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.5257, allocations: 4.062 kB / 0.6617 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.5269, allocations: 0.8166 MB / 0.6625 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/0.5273, allocations: 192.2 kB / 0.6626 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.5274, allocations: 11.94 kB / 0.6627 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004768/0.5279, allocations: 23.98 kB / 0.6627 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.528, allocations: 44.02 kB / 0.6627 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.87e-05/0.5281, allocations: 43.92 kB / 0.6628 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005295/0.5286, allocations: 439 kB / 0.6632 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5286, allocations: 0 / 0.6632 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009129/0.5295, allocations: 263.9 kB / 0.6634 GB, free: 13.46 MB / 0.4981 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.0007898/0.5303, allocations: 294.8 kB / 0.6637 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.5315, allocations: 0.5437 MB / 0.6642 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.5315, allocations: 0 / 0.6642 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009613/0.5324, allocations: 410.8 kB / 0.6646 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/0.5342, allocations: 348.6 kB / 0.665 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.5365, allocations: 1.608 MB / 0.6665 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.537, allocations: 0.9261 MB / 0.6674 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004557/0.5375, allocations: 131.4 kB / 0.6676 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.5375, allocations: 0 / 0.6676 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of Templates: time 0.02187/0.5594, allocations: 16.46 MB / 0.6836 GB, free: 8.758 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches