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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_0_0_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.001132/0.001132, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001015/0.001015, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.302/1.302, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2118/0.2118, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 56.66 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1069, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3715/0.4784, allocations: 174.3 MB / 0.6286 GB, free: 2.164 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007619/0.4861, allocations: 5.338 MB / 0.6338 GB, free: 12.81 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008833/0.487, allocations: 23.81 kB / 0.6338 GB, free: 12.79 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.4882, allocations: 317.9 kB / 0.6341 GB, free: 12.48 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00361/0.4919, allocations: 1.325 MB / 0.6354 GB, free: 11.15 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002756/0.4946, allocations: 1.062 MB / 0.6365 GB, free: 10.09 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002127/0.4968, allocations: 1.845 MB / 0.6383 GB, free: 8.246 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000643/0.4974, allocations: 459.1 kB / 0.6387 GB, free: 7.793 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.4994, allocations: 1.067 MB / 0.6398 GB, free: 6.723 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.5006, allocations: 0.7549 MB / 0.6405 GB, free: 5.965 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.5007, allocations: 67.98 kB / 0.6406 GB, free: 5.898 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.502, allocations: 0.5735 MB / 0.6411 GB, free: 5.324 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002505/0.5023, allocations: 259.3 kB / 0.6414 GB, free: 5.07 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003904/0.5027, allocations: 398.2 kB / 0.6417 GB, free: 4.68 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.5041, allocations: 1.293 MB / 0.643 GB, free: 3.383 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.5041, allocations: 0 / 0.643 GB, free: 3.383 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5041, allocations: 0 / 0.643 GB, free: 3.383 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.5041, allocations: 4 kB / 0.643 GB, free: 3.379 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.002053/0.5062, allocations: 1.095 MB / 0.6441 GB, free: 2.23 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.5062, allocations: 12.03 kB / 0.6441 GB, free: 2.219 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/0.5064, allocations: 105.5 kB / 0.6442 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008109/0.5072, allocations: 135.1 kB / 0.6443 GB, free: 1.977 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007123/0.5079, allocations: 0.504 MB / 0.6448 GB, free: 1.434 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.508, allocations: 104.4 kB / 0.6449 GB, free: 1.316 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.161e-05/0.5081, allocations: 47.98 kB / 0.645 GB, free: 1.27 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.5094, allocations: 0.8214 MB / 0.6458 GB, free: 388 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.5094, allocations: 3.938 kB / 0.6458 GB, free: 384 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.074e-05/0.5095, allocations: 24 kB / 0.6458 GB, free: 360 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-05/0.5096, allocations: 32.98 kB / 0.6458 GB, free: 328 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.5107, allocations: 0.6282 MB / 0.6464 GB, free: 15.69 MB / 494.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.004553/0.5152, allocations: 3.969 MB / 0.6503 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006216/0.5159, allocations: 363.6 kB / 0.6507 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.5162, allocations: 165.3 kB / 0.6508 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.5163, allocations: 97.36 kB / 0.6509 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.5163, allocations: 38.84 kB / 0.6509 GB, free: 10.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.784e-06/0.5163, allocations: 0 / 0.6509 GB, free: 10.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005893/0.5222, allocations: 1.669 MB / 0.6526 GB, free: 9.035 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.5223, allocations: 136.5 kB / 0.6527 GB, free: 8.871 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006822/0.523, allocations: 0.621 MB / 0.6533 GB, free: 8.242 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.62e-05/0.5231, allocations: 29.7 kB / 0.6533 GB, free: 8.207 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.5233, allocations: 374.8 kB / 0.6537 GB, free: 7.836 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.5235, allocations: 142 kB / 0.6538 GB, free: 7.695 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.5237, allocations: 154.5 kB / 0.654 GB, free: 7.539 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.5239, allocations: 378.7 kB / 0.6543 GB, free: 7.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.5242, allocations: 201.9 kB / 0.6545 GB, free: 6.961 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006267/0.5249, allocations: 0.5164 MB / 0.655 GB, free: 6.301 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009501/0.5258, allocations: 0.7514 MB / 0.6558 GB, free: 5.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5258, allocations: 7.938 kB / 0.6558 GB, free: 5.402 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001464/0.5273, allocations: 0.8834 MB / 0.6566 GB, free: 4.508 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.5273, allocations: 8 kB / 0.6566 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.5274, allocations: 12 kB / 0.6567 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.5288, allocations: 313.3 kB / 0.657 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.5292, allocations: 123.8 kB / 0.6571 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.5303, allocations: 0.9334 MB / 0.658 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004874/0.5308, allocations: 32.05 kB / 0.658 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.543e-05/0.5309, allocations: 64 kB / 0.6581 GB, free: 3.008 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.0003543/0.5313, allocations: 249.4 kB / 0.6583 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.5314, allocations: 71.16 kB / 0.6584 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/0.5332, allocations: 0.862 MB / 0.6592 GB, free: 1.805 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.5333, allocations: 4 kB / 0.6592 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.5333, allocations: 0 / 0.6592 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.5333, allocations: 0 / 0.6592 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.5354, allocations: 1.465 MB / 0.6607 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5354, allocations: 0 / 0.6607 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.5366, allocations: 215.9 kB / 0.6609 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.703e-05/0.5367, allocations: 24.84 kB / 0.6609 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/0.5367, allocations: 12 kB / 0.6609 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/0.5388, allocations: 2.885 MB / 0.6637 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5389, allocations: 0 / 0.6637 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.5401, allocations: 0.8208 MB / 0.6645 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.5404, allocations: 188.3 kB / 0.6647 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.5405, allocations: 12 kB / 0.6647 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004229/0.541, allocations: 15.98 kB / 0.6647 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.945e-05/0.5411, allocations: 43.89 kB / 0.6648 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.388e-05/0.5412, allocations: 55.92 kB / 0.6648 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005077/0.5417, allocations: 443 kB / 0.6652 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5417, allocations: 3.938 kB / 0.6652 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008537/0.5425, allocations: 252 kB / 0.6655 GB, free: 10.92 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.002292/0.5448, allocations: 1.55 MB / 0.667 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001245/0.5461, allocations: 0.5975 MB / 0.6676 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.5461, allocations: 0 / 0.6676 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.5472, allocations: 426.7 kB / 0.668 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.5489, allocations: 369.6 kB / 0.6683 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008545/0.5574, allocations: 6.549 MB / 0.6747 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.558, allocations: 0.9261 MB / 0.6756 GB, free: 64 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001275/0.5592, allocations: 470.2 kB / 0.6761 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005312/0.5598, allocations: 283.3 kB / 0.6764 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.5598, allocations: 0 / 0.6764 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0535/0.6133, allocations: 24.13 MB / 0.6999 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.5, allocations: 13.86 kB / 0.6999 GB, free: 7.508 MB / 0.5294 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > 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.csv","/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