Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008759/0.0008761, allocations: 174.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 225.7 MB / 243.9 MB, free: 8.461 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007585/0.0007586, allocations: 96.38 kB / 295 MB, free: 9.496 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3485/0.3485, allocations: 44.32 MB / 390.5 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003326, allocations: 12 kB / 463.2 MB, free: 460 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3523, allocations: 61.91 MB / 0.5128 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.1956/0.548, allocations: 167.6 MB / 0.6764 GB, free: 4.34 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3389/0.887, allocations: 7.441 MB / 0.6837 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.8882, allocations: 25.94 kB / 0.6837 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009139/0.8891, allocations: 267.6 kB / 0.6839 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003417/0.8925, allocations: 1.214 MB / 0.6851 GB, free: 13.41 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002457/0.895, allocations: 0.9427 MB / 0.686 GB, free: 13.37 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002805/0.8978, allocations: 2.716 MB / 0.6887 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006166/0.8984, allocations: 403.5 kB / 0.6891 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002059/0.9005, allocations: 0.9785 MB / 0.69 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.9017, allocations: 0.7624 MB / 0.6908 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.642e-05/0.9018, allocations: 31.44 kB / 0.6908 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.9031, allocations: 0.4993 MB / 0.6913 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.9033, allocations: 233.6 kB / 0.6915 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004363/0.9038, allocations: 400 kB / 0.6919 GB, free: 13.26 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.9052, allocations: 1.258 MB / 0.6931 GB, free: 13.19 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9052, allocations: 0 / 0.6931 GB, free: 13.19 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.9052, allocations: 4 kB / 0.6931 GB, free: 13.19 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.9052, allocations: 0 / 0.6931 GB, free: 13.19 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.001722/0.9069, allocations: 0.9481 MB / 0.6941 GB, free: 12.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.907, allocations: 11.02 kB / 0.6941 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007031/0.9077, allocations: 133.9 kB / 0.6942 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006787/0.9084, allocations: 0.5013 MB / 0.6947 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.707e-05/0.9085, allocations: 103.7 kB / 0.6948 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.76e-05/0.9086, allocations: 52.78 kB / 0.6948 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.9098, allocations: 0.8116 MB / 0.6956 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.9098, allocations: 5.125 kB / 0.6956 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.271e-05/0.9099, allocations: 27.92 kB / 0.6957 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.689e-05/0.91, allocations: 39.09 kB / 0.6957 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009691/0.9109, allocations: 0.6201 MB / 0.6963 GB, free: 12 MB / 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.004059/0.915, allocations: 3.955 MB / 0.7002 GB, free: 9.375 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006279/0.9156, allocations: 361.8 kB / 0.7005 GB, free: 9.344 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.916, allocations: 165.1 kB / 0.7007 GB, free: 9.336 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/0.9161, allocations: 95.81 kB / 0.7008 GB, free: 9.242 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.9162, allocations: 45.45 kB / 0.7008 GB, free: 9.199 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.736e-06/0.9162, allocations: 0 / 0.7008 GB, free: 9.199 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.005116/0.9213, allocations: 1.67 MB / 0.7024 GB, free: 8.676 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.9214, allocations: 135.8 kB / 0.7026 GB, free: 8.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006176/0.922, allocations: 0.6057 MB / 0.7032 GB, free: 8.383 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.922, allocations: 34.52 kB / 0.7032 GB, free: 8.352 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.9223, allocations: 365.1 kB / 0.7035 GB, free: 8.164 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.9224, allocations: 143.7 kB / 0.7037 GB, free: 8.074 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.9224, allocations: 12.19 kB / 0.7037 GB, free: 8.074 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.9225, allocations: 378.4 kB / 0.704 GB, free: 7.758 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.9229, allocations: 201.9 kB / 0.7042 GB, free: 7.758 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004755/0.9234, allocations: 0.5093 MB / 0.7047 GB, free: 7.363 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008305/0.9242, allocations: 0.7455 MB / 0.7055 GB, free: 6.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.9242, allocations: 6.609 kB / 0.7055 GB, free: 6.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001433/0.9257, allocations: 0.8786 MB / 0.7063 GB, free: 6.887 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.9257, allocations: 9.812 kB / 0.7063 GB, free: 6.887 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.9257, allocations: 13.69 kB / 0.7063 GB, free: 6.883 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/0.9271, allocations: 316.3 kB / 0.7066 GB, free: 6.871 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.9275, allocations: 122.5 kB / 0.7068 GB, free: 6.871 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.9286, allocations: 0.9325 MB / 0.7077 GB, free: 6.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.9292, allocations: 47.23 kB / 0.7077 GB, free: 6.336 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.9293, allocations: 70.67 kB / 0.7078 GB, free: 6.332 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.0003131/0.9296, allocations: 246.5 kB / 0.708 GB, free: 6.211 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.9297, allocations: 69.75 kB / 0.7081 GB, free: 6.176 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001968/0.9317, allocations: 0.8608 MB / 0.7089 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.9317, allocations: 4.562 kB / 0.7089 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.9317, allocations: 0.625 kB / 0.7089 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.9318, allocations: 3.438 kB / 0.7089 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.9341, allocations: 1.458 MB / 0.7104 GB, free: 5.395 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.9341, allocations: 5.719 kB / 0.7104 GB, free: 5.395 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.9352, allocations: 210.6 kB / 0.7106 GB, free: 5.391 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.482e-05/0.9353, allocations: 24.22 kB / 0.7106 GB, free: 5.383 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/0.9353, allocations: 20.03 kB / 0.7106 GB, free: 5.383 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/0.9369, allocations: 2.693 MB / 0.7132 GB, free: 2.797 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.9369, allocations: 5.516 kB / 0.7132 GB, free: 2.793 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.9383, allocations: 0.8183 MB / 0.714 GB, free: 2.559 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.9385, allocations: 187.9 kB / 0.7142 GB, free: 2.434 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-05/0.9387, allocations: 9.641 kB / 0.7142 GB, free: 2.434 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.9391, allocations: 33.64 kB / 0.7143 GB, free: 2.426 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.9392, allocations: 40.09 kB / 0.7143 GB, free: 2.422 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.539e-05/0.9393, allocations: 44.33 kB / 0.7143 GB, free: 2.422 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000649/0.94, allocations: 437.1 kB / 0.7148 GB, free: 2.328 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.162e-06/0.94, allocations: 0 / 0.7148 GB, free: 2.328 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001021/0.941, allocations: 255.2 kB / 0.715 GB, free: 2.316 MB / 490.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 (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.0008999/0.9419, allocations: 305 kB / 0.7153 GB, free: 2.191 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.9432, allocations: 0.5506 MB / 0.7158 GB, free: 2.172 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.9433, allocations: 2.766 kB / 0.7158 GB, free: 2.172 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.9443, allocations: 417 kB / 0.7162 GB, free: 2.062 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.9461, allocations: 362.5 kB / 0.7166 GB, free: 2.023 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.9486, allocations: 1.633 MB / 0.7182 GB, free: 1.199 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006218/0.9492, allocations: 0.9271 MB / 0.7191 GB, free: 16.49 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001506/0.9507, allocations: 460.1 kB / 0.7195 GB, free: 16.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004232/0.9511, allocations: 119.1 kB / 0.7196 GB, free: 16.39 MB / 0.4948 GB Notification: Performance of SimCode: time 3.6e-07/0.9511, allocations: 0.7812 kB / 0.7196 GB, free: 16.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.02804/0.9792, allocations: 16.74 MB / 0.736 GB, free: 10.12 MB / 0.4948 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches