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.001031/0.001031, allocations: 96.61 kB / 18 MB, free: 5.605 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.0009918/0.0009918, allocations: 176.9 kB / 18.91 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.386/1.386, allocations: 223.3 MB / 243 MB, free: 14.42 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.1973/0.1973, allocations: 44.24 MB / 338.3 MB, free: 2.398 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.0003259, allocations: 8 kB / 411 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1195, allocations: 61.92 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3612/0.4807, allocations: 170.3 MB / 0.6281 GB, free: 8.348 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007573/0.4883, allocations: 5.417 MB / 0.6334 GB, free: 2.918 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008269/0.4892, allocations: 23.81 kB / 0.6334 GB, free: 2.895 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009516/0.4902, allocations: 274.5 kB / 0.6337 GB, free: 2.625 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003389/0.4936, allocations: 1.212 MB / 0.6349 GB, free: 1.414 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.4961, allocations: 0.9389 MB / 0.6358 GB, free: 492 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002995/0.4991, allocations: 2.71 MB / 0.6384 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007685/0.4999, allocations: 401.5 kB / 0.6388 GB, free: 13.37 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00217/0.5021, allocations: 0.9612 MB / 0.6397 GB, free: 12.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.5037, allocations: 0.7744 MB / 0.6405 GB, free: 11.63 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.5039, allocations: 32 kB / 0.6405 GB, free: 11.6 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.5053, allocations: 0.5266 MB / 0.641 GB, free: 11.07 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003558/0.5057, allocations: 247.2 kB / 0.6413 GB, free: 10.83 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005661/0.5062, allocations: 399.9 kB / 0.6417 GB, free: 10.43 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.5075, allocations: 0.947 MB / 0.6426 GB, free: 9.48 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.5075, allocations: 0 / 0.6426 GB, free: 9.48 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5075, allocations: 0 / 0.6426 GB, free: 9.48 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.849e-05/0.5075, allocations: 0 / 0.6426 GB, free: 9.48 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.002155/0.5097, allocations: 0.9471 MB / 0.6435 GB, free: 8.48 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.5097, allocations: 11.97 kB / 0.6435 GB, free: 8.469 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008636/0.5106, allocations: 135.1 kB / 0.6437 GB, free: 8.336 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007918/0.5114, allocations: 0.5079 MB / 0.6441 GB, free: 7.789 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.5115, allocations: 96.41 kB / 0.6442 GB, free: 7.68 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.5116, allocations: 47.98 kB / 0.6443 GB, free: 7.633 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.5129, allocations: 0.8214 MB / 0.6451 GB, free: 6.738 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.5129, allocations: 0 / 0.6451 GB, free: 6.738 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.099e-05/0.513, allocations: 24 kB / 0.6451 GB, free: 6.715 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.315e-05/0.5131, allocations: 36.92 kB / 0.6451 GB, free: 6.68 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.5141, allocations: 0.6282 MB / 0.6458 GB, free: 6.051 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.004411/0.5186, allocations: 3.969 MB / 0.6496 GB, free: 1.824 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005684/0.5192, allocations: 362.2 kB / 0.65 GB, free: 1.465 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.5194, allocations: 169.3 kB / 0.6501 GB, free: 1.297 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.5196, allocations: 97.36 kB / 0.6502 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.5196, allocations: 42.84 kB / 0.6503 GB, free: 1.133 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.933e-06/0.5196, allocations: 0 / 0.6503 GB, free: 1.133 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005499/0.5251, allocations: 1.659 MB / 0.6519 GB, free: 15.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.5252, allocations: 136.5 kB / 0.652 GB, free: 15.24 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007072/0.5259, allocations: 0.6211 MB / 0.6526 GB, free: 14.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.286e-05/0.526, allocations: 29.7 kB / 0.6527 GB, free: 14.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.5262, allocations: 374.8 kB / 0.653 GB, free: 14.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.5264, allocations: 134.1 kB / 0.6531 GB, free: 14.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.5265, allocations: 65.67 kB / 0.6532 GB, free: 14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5266, allocations: 378.7 kB / 0.6536 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.527, allocations: 201.9 kB / 0.6538 GB, free: 13.42 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005704/0.5276, allocations: 0.5125 MB / 0.6543 GB, free: 12.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009681/0.5286, allocations: 0.7523 MB / 0.655 GB, free: 11.87 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.5286, allocations: 4 kB / 0.655 GB, free: 11.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001457/0.53, allocations: 0.8832 MB / 0.6559 GB, free: 10.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.5301, allocations: 12.92 kB / 0.6559 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.5301, allocations: 12 kB / 0.6559 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/0.5315, allocations: 316.6 kB / 0.6562 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.5319, allocations: 124.6 kB / 0.6563 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.533, allocations: 0.927 MB / 0.6572 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005329/0.5336, allocations: 51.89 kB / 0.6573 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.561e-05/0.5337, allocations: 75.97 kB / 0.6573 GB, free: 9.438 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.0003399/0.534, allocations: 244.1 kB / 0.6576 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.5341, allocations: 71.25 kB / 0.6576 GB, free: 9.121 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/0.5359, allocations: 0.8693 MB / 0.6585 GB, free: 8.238 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.5359, allocations: 4 kB / 0.6585 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.5359, allocations: 3.984 kB / 0.6585 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5359, allocations: 0 / 0.6585 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.538, allocations: 1.461 MB / 0.6599 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.538, allocations: 4 kB / 0.6599 GB, free: 6.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.539, allocations: 207.8 kB / 0.6601 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-05/0.5391, allocations: 28.97 kB / 0.6601 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/0.5392, allocations: 27.92 kB / 0.6602 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/0.5411, allocations: 2.684 MB / 0.6628 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5411, allocations: 256 / 0.6628 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.5424, allocations: 0.8167 MB / 0.6636 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002899/0.5427, allocations: 188.2 kB / 0.6638 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.5428, allocations: 19.92 kB / 0.6638 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004361/0.5432, allocations: 23.98 kB / 0.6638 GB, free: 2.32 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.271e-05/0.5433, allocations: 39.95 kB / 0.6639 GB, free: 2.281 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.969e-05/0.5434, allocations: 47.98 kB / 0.6639 GB, free: 2.234 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005311/0.544, allocations: 439 kB / 0.6643 GB, free: 1.809 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.544, allocations: 3.938 kB / 0.6643 GB, free: 1.805 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009159/0.5449, allocations: 259.9 kB / 0.6646 GB, free: 1.551 MB / 494.1 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 (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.0007588/0.5457, allocations: 268.7 kB / 0.6648 GB, free: 1.281 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.5468, allocations: 0.5517 MB / 0.6654 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.5468, allocations: 0 / 0.6654 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009437/0.5478, allocations: 406.7 kB / 0.6658 GB, free: 332 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/0.5497, allocations: 363.6 kB / 0.6661 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.5521, allocations: 1.688 MB / 0.6677 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005263/0.5526, allocations: 0.93 MB / 0.6687 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004536/0.5531, allocations: 131.4 kB / 0.6688 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.5531, allocations: 0 / 0.6688 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of Templates: time 0.02207/0.5752, allocations: 16.39 MB / 0.6848 GB, free: 12.83 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