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.001065/0.001065, allocations: 100.9 kB / 16.4 MB, free: 6.496 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.001286/0.001286, allocations: 189.5 kB / 17.34 MB, free: 5.77 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.36/1.36, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.1968/0.1968, allocations: 43.52 MB / 314.1 MB, free: 468 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.001594/0.001594, allocations: 72.41 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.114, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4677/0.5818, allocations: 179.6 MB / 0.6629 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008054/0.5899, allocations: 5.748 MB / 0.6685 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007737/0.5907, allocations: 19.81 kB / 0.6685 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.5917, allocations: 318 kB / 0.6688 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004341/0.5961, allocations: 1.574 MB / 0.6703 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003086/0.5992, allocations: 1.245 MB / 0.6715 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00246/0.6017, allocations: 1.848 MB / 0.6733 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008213/0.6025, allocations: 456.5 kB / 0.6738 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002701/0.6052, allocations: 1.234 MB / 0.675 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.6067, allocations: 0.7432 MB / 0.6757 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002252/0.607, allocations: 64 kB / 0.6758 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/0.6093, allocations: 0.8308 MB / 0.6766 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004075/0.6097, allocations: 263.2 kB / 0.6768 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000704/0.6104, allocations: 402.2 kB / 0.6772 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002639/0.6131, allocations: 1.426 MB / 0.6786 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6131, allocations: 0 / 0.6786 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6131, allocations: 0 / 0.6786 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.517e-05/0.6131, allocations: 0 / 0.6786 GB, free: 6.973 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.002722/0.6158, allocations: 1.13 MB / 0.6797 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.6159, allocations: 15.89 kB / 0.6797 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001549/0.6161, allocations: 102.5 kB / 0.6798 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008693/0.6169, allocations: 127.1 kB / 0.6799 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.618, allocations: 0.543 MB / 0.6805 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.6181, allocations: 109.2 kB / 0.6806 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.673e-05/0.6182, allocations: 44 kB / 0.6806 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.6195, allocations: 0.8058 MB / 0.6814 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.6195, allocations: 4 kB / 0.6814 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-05/0.6196, allocations: 31.92 kB / 0.6814 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.496e-05/0.6197, allocations: 44.97 kB / 0.6815 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.6208, allocations: 0.6127 MB / 0.6821 GB, free: 3.227 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.005125/0.6259, allocations: 3.974 MB / 0.686 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/0.6265, allocations: 355.6 kB / 0.6863 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.6268, allocations: 169.3 kB / 0.6865 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005174/0.6274, allocations: 370 kB / 0.6868 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.6274, allocations: 34.84 kB / 0.6869 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.415e-06/0.6274, allocations: 4 kB / 0.6869 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005814/0.6332, allocations: 1.664 MB / 0.6885 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.6334, allocations: 144.4 kB / 0.6886 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009615/0.6343, allocations: 0.6055 MB / 0.6892 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.368e-05/0.6344, allocations: 37.7 kB / 0.6892 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003089/0.6347, allocations: 362.9 kB / 0.6896 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.6349, allocations: 145.9 kB / 0.6897 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/0.6352, allocations: 154.5 kB / 0.6899 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.6353, allocations: 378.8 kB / 0.6902 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.6357, allocations: 201.9 kB / 0.6904 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006082/0.6363, allocations: 0.5164 MB / 0.6909 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.6374, allocations: 0.7523 MB / 0.6917 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.6374, allocations: 4 kB / 0.6917 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001507/0.6389, allocations: 0.8688 MB / 0.6925 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.6389, allocations: 12 kB / 0.6925 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.6389, allocations: 11.98 kB / 0.6925 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.6403, allocations: 316.7 kB / 0.6928 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.6407, allocations: 123.7 kB / 0.693 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.6419, allocations: 0.9347 MB / 0.6939 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005328/0.6424, allocations: 31.94 kB / 0.6939 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-05/0.6425, allocations: 67.92 kB / 0.694 GB, free: 6.262 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.0003569/0.6429, allocations: 245.5 kB / 0.6942 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.6431, allocations: 71.25 kB / 0.6943 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.6444, allocations: 0.6822 MB / 0.6949 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.6444, allocations: 4 kB / 0.6949 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6445, allocations: 0 / 0.6949 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.6445, allocations: 0 / 0.6949 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/0.6469, allocations: 1.614 MB / 0.6965 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.6469, allocations: 0 / 0.6965 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.6479, allocations: 211.8 kB / 0.6967 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.982e-05/0.648, allocations: 20.78 kB / 0.6967 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.6481, allocations: 28.11 kB / 0.6968 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/0.6502, allocations: 2.873 MB / 0.6996 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.6502, allocations: 0 / 0.6996 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.6514, allocations: 0.809 MB / 0.7004 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/0.6518, allocations: 196.2 kB / 0.7006 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.6519, allocations: 8 kB / 0.7006 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.6524, allocations: 16 kB / 0.7006 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.426e-05/0.6525, allocations: 39.89 kB / 0.7006 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.335e-05/0.6526, allocations: 51.91 kB / 0.7007 GB, free: 14.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005434/0.6531, allocations: 435.1 kB / 0.7011 GB, free: 14.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6531, allocations: 4 kB / 0.7011 GB, free: 14.47 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001019/0.6541, allocations: 299.9 kB / 0.7014 GB, free: 14.18 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.00238/0.6565, allocations: 1.613 MB / 0.7029 GB, free: 12.53 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.6577, allocations: 0.5589 MB / 0.7035 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6577, allocations: 3.938 kB / 0.7035 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.6587, allocations: 418.6 kB / 0.7039 GB, free: 11.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.6605, allocations: 365.9 kB / 0.7042 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009608/0.6701, allocations: 6.296 MB / 0.7104 GB, free: 4.504 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006201/0.6708, allocations: 0.9261 MB / 0.7113 GB, free: 3.551 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000882/0.6716, allocations: 266 kB / 0.7116 GB, free: 3.289 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004616/0.6721, allocations: 271.3 kB / 0.7118 GB, free: 3.023 MB / 0.545 GB Notification: Performance of SimCode: time 7.82e-07/0.6721, allocations: 0 / 0.7118 GB, free: 3.023 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05242/0.7246, allocations: 25.71 MB / 0.7369 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.77, allocations: 11.8 kB / 0.7369 GB, free: 9.262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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