Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.001183/0.001183, allocations: 189.4 kB / 17.19 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.218/0.218, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 64.19 kB / 382.8 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09203/0.09354, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3972/0.4908, allocations: 179.6 MB / 0.6057 GB, free: 8.609 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007045/0.4979, allocations: 5.752 MB / 0.6114 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007519/0.4986, allocations: 20.06 kB / 0.6114 GB, free: 6.102 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009465/0.4996, allocations: 309 kB / 0.6117 GB, free: 5.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00453/0.5042, allocations: 1.581 MB / 0.6132 GB, free: 4.672 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003208/0.5074, allocations: 1.237 MB / 0.6144 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002183/0.5096, allocations: 1.848 MB / 0.6162 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007467/0.5104, allocations: 462.6 kB / 0.6167 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00286/0.5132, allocations: 1.23 MB / 0.6179 GB, free: 1.727 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.5148, allocations: 0.7409 MB / 0.6186 GB, free: 1.297 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00019/0.515, allocations: 64.62 kB / 0.6186 GB, free: 1.293 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.5167, allocations: 0.7413 MB / 0.6194 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003733/0.5171, allocations: 261.9 kB / 0.6196 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006637/0.5178, allocations: 405.4 kB / 0.62 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002087/0.5199, allocations: 1.406 MB / 0.6214 GB, free: 15.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.5199, allocations: 0 / 0.6214 GB, free: 15.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.5199, allocations: 0 / 0.6214 GB, free: 15.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.648e-05/0.5199, allocations: 0 / 0.6214 GB, free: 15.62 MB / 446.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.00254/0.5225, allocations: 1.139 MB / 0.6225 GB, free: 14.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.5225, allocations: 11.89 kB / 0.6225 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001455/0.5227, allocations: 94.52 kB / 0.6226 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008419/0.5235, allocations: 148.6 kB / 0.6227 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008153/0.5244, allocations: 0.504 MB / 0.6232 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.5245, allocations: 100.4 kB / 0.6233 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.118e-05/0.5246, allocations: 52 kB / 0.6234 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.5258, allocations: 0.8213 MB / 0.6242 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.5258, allocations: 0 / 0.6242 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.757e-05/0.5259, allocations: 24 kB / 0.6242 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.13e-05/0.526, allocations: 36.98 kB / 0.6242 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.5271, allocations: 0.6204 MB / 0.6248 GB, free: 12.07 MB / 446.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.004351/0.5314, allocations: 3.988 MB / 0.6287 GB, free: 7.832 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005592/0.532, allocations: 354 kB / 0.6291 GB, free: 7.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.5323, allocations: 169.3 kB / 0.6292 GB, free: 7.312 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004041/0.5327, allocations: 373.4 kB / 0.6296 GB, free: 6.895 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.5328, allocations: 38.84 kB / 0.6296 GB, free: 6.848 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.324e-06/0.5328, allocations: 3.938 kB / 0.6296 GB, free: 6.844 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.005615/0.5384, allocations: 1.662 MB / 0.6313 GB, free: 5.109 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/0.5385, allocations: 140.5 kB / 0.6314 GB, free: 4.941 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007133/0.5392, allocations: 0.6094 MB / 0.632 GB, free: 4.324 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.347e-05/0.5393, allocations: 41.64 kB / 0.632 GB, free: 4.277 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.5395, allocations: 362.9 kB / 0.6324 GB, free: 3.918 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.5397, allocations: 149.9 kB / 0.6325 GB, free: 3.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.5399, allocations: 154.5 kB / 0.6327 GB, free: 3.613 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.54, allocations: 374.8 kB / 0.633 GB, free: 3.238 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/0.5404, allocations: 205.9 kB / 0.6332 GB, free: 3.035 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000542/0.541, allocations: 0.5086 MB / 0.6337 GB, free: 2.379 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009232/0.5419, allocations: 0.7526 MB / 0.6344 GB, free: 1.488 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.5419, allocations: 4 kB / 0.6344 GB, free: 1.484 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001473/0.5434, allocations: 0.872 MB / 0.6353 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.5434, allocations: 12 kB / 0.6353 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.5434, allocations: 8 kB / 0.6353 GB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.5449, allocations: 320.1 kB / 0.6356 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.5453, allocations: 123.8 kB / 0.6357 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.5464, allocations: 0.9308 MB / 0.6367 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005206/0.5469, allocations: 28 kB / 0.6367 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-05/0.547, allocations: 72.05 kB / 0.6367 GB, free: 15.09 MB / 462.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.0004007/0.5475, allocations: 246.3 kB / 0.637 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.5476, allocations: 71.19 kB / 0.6371 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.5492, allocations: 0.69 MB / 0.6377 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.5492, allocations: 4 kB / 0.6377 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5492, allocations: 0 / 0.6377 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.5492, allocations: 0 / 0.6377 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/0.5515, allocations: 1.615 MB / 0.6393 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.5515, allocations: 0 / 0.6393 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.5526, allocations: 211.8 kB / 0.6395 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.627e-05/0.5527, allocations: 20.84 kB / 0.6395 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.299e-05/0.5528, allocations: 20.12 kB / 0.6395 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/0.555, allocations: 2.885 MB / 0.6424 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.555, allocations: 4.031 kB / 0.6424 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.5564, allocations: 0.8071 MB / 0.6432 GB, free: 8.043 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004472/0.5569, allocations: 188.2 kB / 0.6433 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/0.5571, allocations: 12 kB / 0.6433 GB, free: 7.828 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005285/0.5576, allocations: 19.98 kB / 0.6434 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.5578, allocations: 40.02 kB / 0.6434 GB, free: 7.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.947e-05/0.5579, allocations: 43.92 kB / 0.6434 GB, free: 7.727 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006841/0.5585, allocations: 439 kB / 0.6439 GB, free: 7.301 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5586, allocations: 0 / 0.6439 GB, free: 7.301 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001154/0.5597, allocations: 292 kB / 0.6441 GB, free: 7.016 MB / 462.1 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.002441/0.5622, allocations: 1.61 MB / 0.6457 GB, free: 5.371 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.5635, allocations: 0.6101 MB / 0.6463 GB, free: 4.762 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.5636, allocations: 11.92 kB / 0.6463 GB, free: 4.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009951/0.5646, allocations: 406.2 kB / 0.6467 GB, free: 4.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/0.5665, allocations: 374.2 kB / 0.6471 GB, free: 3.984 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008903/0.5754, allocations: 6.532 MB / 0.6534 GB, free: 13.07 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005855/0.576, allocations: 0.9261 MB / 0.6543 GB, free: 12.12 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001093/0.5771, allocations: 266 kB / 0.6546 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000496/0.5776, allocations: 271.3 kB / 0.6549 GB, free: 11.59 MB / 478.1 MB Notification: Performance of SimCode: time 9.91e-07/0.5776, allocations: 0 / 0.6549 GB, free: 11.59 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05176/0.6294, allocations: 25.15 MB / 0.6794 GB, free: 2.422 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.77, allocations: 11.75 kB / 0.6794 GB, free: 2.41 MB / 494.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches