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.001082/0.001082, allocations: 104.1 kB / 16.4 MB, free: 6.504 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.001085/0.001085, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.305/1.305, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2131/0.2131, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 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.001627/0.001627, allocations: 71.89 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1287, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5057/0.6344, allocations: 179.7 MB / 0.6629 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008208/0.6427, allocations: 5.74 MB / 0.6685 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007696/0.6435, allocations: 23.88 kB / 0.6685 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009564/0.6445, allocations: 314 kB / 0.6688 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004027/0.6485, allocations: 1.603 MB / 0.6703 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003301/0.6519, allocations: 1.241 MB / 0.6716 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002668/0.6545, allocations: 1.848 MB / 0.6734 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000684/0.6552, allocations: 458.2 kB / 0.6738 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002626/0.6579, allocations: 1.253 MB / 0.675 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.6591, allocations: 0.7432 MB / 0.6757 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.6592, allocations: 60 kB / 0.6758 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.661, allocations: 0.8308 MB / 0.6766 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003361/0.6613, allocations: 267.3 kB / 0.6769 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004489/0.6618, allocations: 398.2 kB / 0.6773 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002105/0.6639, allocations: 1.429 MB / 0.6786 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.6639, allocations: 0 / 0.6786 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6639, allocations: 0 / 0.6786 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.6639, allocations: 0 / 0.6786 GB, free: 6.891 MB / 0.5137 GB 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.002369/0.6663, allocations: 1.159 MB / 0.6798 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.6664, allocations: 15.89 kB / 0.6798 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000124/0.6665, allocations: 94.52 kB / 0.6799 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008518/0.6674, allocations: 139.5 kB / 0.68 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009003/0.6683, allocations: 0.5473 MB / 0.6806 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.6684, allocations: 100.4 kB / 0.6806 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.639e-05/0.6685, allocations: 51.98 kB / 0.6807 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.6697, allocations: 0.8135 MB / 0.6815 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.6698, allocations: 4 kB / 0.6815 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.19e-05/0.6699, allocations: 20 kB / 0.6815 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.869e-05/0.6699, allocations: 40.97 kB / 0.6816 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.671, allocations: 0.6165 MB / 0.6822 GB, free: 3.113 MB / 0.5137 GB 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.004702/0.6757, allocations: 3.978 MB / 0.686 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005863/0.6763, allocations: 351.6 kB / 0.6864 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.6766, allocations: 181.3 kB / 0.6865 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004499/0.677, allocations: 362 kB / 0.6869 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.6771, allocations: 38.84 kB / 0.6869 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 4.859e-06/0.6771, allocations: 0 / 0.6869 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005614/0.6827, allocations: 1.675 MB / 0.6886 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.6828, allocations: 140.5 kB / 0.6887 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007255/0.6835, allocations: 0.6095 MB / 0.6893 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/0.6836, allocations: 37.7 kB / 0.6893 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.6838, allocations: 375.8 kB / 0.6897 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.684, allocations: 146.8 kB / 0.6898 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.6842, allocations: 158.6 kB / 0.69 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.6844, allocations: 374.8 kB / 0.6903 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003678/0.6848, allocations: 205.9 kB / 0.6905 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006653/0.6854, allocations: 0.5164 MB / 0.691 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009841/0.6864, allocations: 0.7484 MB / 0.6918 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.6864, allocations: 4 kB / 0.6918 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001416/0.6879, allocations: 0.8805 MB / 0.6926 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/0.6879, allocations: 12 kB / 0.6926 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.6879, allocations: 8 kB / 0.6927 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.6893, allocations: 317.6 kB / 0.693 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.6897, allocations: 127.8 kB / 0.6931 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.691, allocations: 0.9348 MB / 0.694 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004992/0.6915, allocations: 24.69 kB / 0.694 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.882e-05/0.6916, allocations: 71.92 kB / 0.6941 GB, free: 6.117 MB / 0.5294 GB 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.0003525/0.6919, allocations: 245.4 kB / 0.6943 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.6921, allocations: 71.58 kB / 0.6944 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.6934, allocations: 0.6874 MB / 0.6951 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.6934, allocations: 7.938 kB / 0.6951 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.6934, allocations: 0 / 0.6951 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.6934, allocations: 0 / 0.6951 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/0.6957, allocations: 1.618 MB / 0.6966 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.6958, allocations: 0 / 0.6966 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.6968, allocations: 211.8 kB / 0.6968 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-05/0.6969, allocations: 24.97 kB / 0.6969 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.697, allocations: 19.98 kB / 0.6969 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.6989, allocations: 2.873 MB / 0.6997 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.6989, allocations: 4.031 kB / 0.6997 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.7, allocations: 0.8133 MB / 0.7005 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/0.7003, allocations: 196.6 kB / 0.7007 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-05/0.7004, allocations: 11.98 kB / 0.7007 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/0.7008, allocations: 16 kB / 0.7007 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.874e-05/0.7009, allocations: 39.94 kB / 0.7007 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.455e-05/0.701, allocations: 47.98 kB / 0.7008 GB, free: 14.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005145/0.7015, allocations: 439 kB / 0.7012 GB, free: 14.31 MB / 0.545 GB Notification: Performance of sort global known variables: time 3e-07/0.7015, allocations: 0 / 0.7012 GB, free: 14.31 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009987/0.7025, allocations: 295.7 kB / 0.7015 GB, free: 14.02 MB / 0.545 GB 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.002371/0.7049, allocations: 1.614 MB / 0.7031 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001202/0.7061, allocations: 0.5666 MB / 0.7036 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.7062, allocations: 0 / 0.7036 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009939/0.7072, allocations: 418.3 kB / 0.704 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.7088, allocations: 365.7 kB / 0.7044 GB, free: 11.03 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008632/0.7175, allocations: 6.319 MB / 0.7105 GB, free: 4.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005536/0.718, allocations: 0.9338 MB / 0.7115 GB, free: 3.359 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007959/0.7188, allocations: 266 kB / 0.7117 GB, free: 3.098 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004385/0.7193, allocations: 271.3 kB / 0.712 GB, free: 2.832 MB / 0.545 GB Notification: Performance of SimCode: time 1.192e-06/0.7193, allocations: 0 / 0.712 GB, free: 2.832 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05793/0.7772, allocations: 25.4 MB / 0.7368 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/13, allocations: 7.797 kB / 0.7368 GB, free: 9.398 MB / 0.5762 GB (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