Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008945/0.0008945, allocations: 176 kB / 16.08 MB, free: 5.715 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.6 MB / 222.4 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007666/0.0007669, allocations: 90.89 kB / 270.8 MB, free: 8.121 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3612/0.3612, allocations: 43.67 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003185, allocations: 12 kB / 432.3 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1096, allocations: 58.86 MB / 491.2 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3578/0.4675, allocations: 173.6 MB / 0.6492 GB, free: 6.703 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.008938/0.4765, allocations: 7.941 MB / 0.6569 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008671/0.4774, allocations: 23.81 kB / 0.657 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.4784, allocations: 266.5 kB / 0.6572 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004251/0.4827, allocations: 1.421 MB / 0.6586 GB, free: 12.49 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003204/0.4859, allocations: 1.098 MB / 0.6597 GB, free: 11.39 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002892/0.4888, allocations: 2.703 MB / 0.6623 GB, free: 8.688 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008129/0.4897, allocations: 396.1 kB / 0.6627 GB, free: 8.301 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002819/0.4925, allocations: 1.121 MB / 0.6638 GB, free: 7.176 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/0.4941, allocations: 0.7666 MB / 0.6645 GB, free: 6.406 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002093/0.4943, allocations: 35.98 kB / 0.6646 GB, free: 6.371 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/0.4961, allocations: 0.659 MB / 0.6652 GB, free: 5.711 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004213/0.4966, allocations: 235.3 kB / 0.6654 GB, free: 5.48 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006576/0.4972, allocations: 395.9 kB / 0.6658 GB, free: 5.086 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.4995, allocations: 1.371 MB / 0.6672 GB, free: 3.711 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4995, allocations: 0 / 0.6672 GB, free: 3.711 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4995, allocations: 4 kB / 0.6672 GB, free: 3.707 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.096e-05/0.4995, allocations: 0 / 0.6672 GB, free: 3.707 MB / 490.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.002206/0.5018, allocations: 0.9816 MB / 0.6681 GB, free: 2.676 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.5018, allocations: 8.031 kB / 0.6681 GB, free: 2.668 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008693/0.5027, allocations: 135.1 kB / 0.6683 GB, free: 2.535 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008656/0.5036, allocations: 0.5118 MB / 0.6688 GB, free: 1.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.5037, allocations: 100.4 kB / 0.6689 GB, free: 1.871 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.5038, allocations: 52 kB / 0.6689 GB, free: 1.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.5052, allocations: 0.8058 MB / 0.6697 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.5052, allocations: 3.938 kB / 0.6697 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.881e-05/0.5053, allocations: 24 kB / 0.6697 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.696e-05/0.5053, allocations: 48.97 kB / 0.6698 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.5064, allocations: 0.6088 MB / 0.6704 GB, free: 264 kB / 490.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.2001/0.7065, allocations: 3.974 MB / 0.6742 GB, free: 150.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006401/0.7071, allocations: 359.2 kB / 0.6746 GB, free: 150.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.7074, allocations: 165.3 kB / 0.6747 GB, free: 150.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004109/0.7079, allocations: 364.8 kB / 0.6751 GB, free: 150.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.7079, allocations: 37.5 kB / 0.6751 GB, free: 150.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.765e-06/0.7079, allocations: 0 / 0.6751 GB, free: 150.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.005574/0.7135, allocations: 1.674 MB / 0.6768 GB, free: 149.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.7136, allocations: 134 kB / 0.6769 GB, free: 149.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.7146, allocations: 0.6067 MB / 0.6775 GB, free: 149.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.585e-05/0.7147, allocations: 35.3 kB / 0.6775 GB, free: 149.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.7149, allocations: 373.3 kB / 0.6779 GB, free: 149.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.7151, allocations: 146.4 kB / 0.678 GB, free: 149.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.7151, allocations: 13.12 kB / 0.678 GB, free: 149.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.7152, allocations: 375.7 kB / 0.6784 GB, free: 148.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/0.7156, allocations: 201.9 kB / 0.6786 GB, free: 148.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000496/0.7161, allocations: 0.5092 MB / 0.6791 GB, free: 148.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.7171, allocations: 0.7372 MB / 0.6798 GB, free: 148.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.7172, allocations: 4.062 kB / 0.6798 GB, free: 148.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001607/0.7188, allocations: 0.8759 MB / 0.6806 GB, free: 147.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.7188, allocations: 8.875 kB / 0.6807 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.7188, allocations: 12.58 kB / 0.6807 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/0.7204, allocations: 330.7 kB / 0.681 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004181/0.7208, allocations: 125.8 kB / 0.6811 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000983/0.7218, allocations: 0.922 MB / 0.682 GB, free: 147.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006122/0.7224, allocations: 45 kB / 0.682 GB, free: 147.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.513e-05/0.7225, allocations: 65.72 kB / 0.6821 GB, free: 147.2 MB / 490.7 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.0003821/0.7229, allocations: 246.2 kB / 0.6823 GB, free: 147.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.7231, allocations: 69.88 kB / 0.6824 GB, free: 147 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.7246, allocations: 0.6878 MB / 0.6831 GB, free: 146.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.7246, allocations: 5.719 kB / 0.6831 GB, free: 146.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7246, allocations: 0 / 0.6831 GB, free: 146.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.7246, allocations: 3.281 kB / 0.6831 GB, free: 146.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/0.7266, allocations: 1.609 MB / 0.6847 GB, free: 145.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.7266, allocations: 0 / 0.6847 GB, free: 145.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009914/0.7276, allocations: 209.9 kB / 0.6849 GB, free: 145.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-05/0.7277, allocations: 24.39 kB / 0.6849 GB, free: 145.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.172e-05/0.7278, allocations: 20.3 kB / 0.6849 GB, free: 145.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.7292, allocations: 2.684 MB / 0.6875 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.7292, allocations: 3.672 kB / 0.6875 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.7303, allocations: 0.8064 MB / 0.6883 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.7306, allocations: 197.5 kB / 0.6885 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.7308, allocations: 11.03 kB / 0.6885 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004585/0.7312, allocations: 29.69 kB / 0.6885 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.346e-05/0.7314, allocations: 33.19 kB / 0.6886 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.625e-05/0.7314, allocations: 46.19 kB / 0.6886 GB, free: 142.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005108/0.7319, allocations: 439.2 kB / 0.689 GB, free: 142.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.732, allocations: 4 kB / 0.689 GB, free: 142.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001138/0.7331, allocations: 292.6 kB / 0.6893 GB, free: 142.1 MB / 490.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 (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.0009686/0.7341, allocations: 373.3 kB / 0.6897 GB, free: 142 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.7352, allocations: 0.5334 MB / 0.6902 GB, free: 141.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.7352, allocations: 1.75 kB / 0.6902 GB, free: 141.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008799/0.7361, allocations: 418.6 kB / 0.6906 GB, free: 141.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.7378, allocations: 351 kB / 0.6909 GB, free: 141.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.7398, allocations: 1.626 MB / 0.6925 GB, free: 140.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.7401, allocations: 0.9335 MB / 0.6934 GB, free: 139.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001118/0.7413, allocations: 256.2 kB / 0.6937 GB, free: 139.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/0.7416, allocations: 102.5 kB / 0.6938 GB, free: 139.8 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/0.7416, allocations: 3.25 kB / 0.6938 GB, free: 139.8 MB / 490.7 MB Notification: Performance of Templates: time 0.02855/0.7702, allocations: 17.66 MB / 0.711 GB, free: 137.2 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches