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.001323/0.001323, allocations: 103.8 kB / 15.98 MB, free: 6.348 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.001332/0.001332, allocations: 189.6 kB / 16.91 MB, free: 6.191 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.528/1.528, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4239/0.4239, allocations: 43.5 MB / 313.6 MB, free: 8.523 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.001593/0.001593, allocations: 63.91 kB / 382.3 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1622, allocations: 57.79 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.541/0.7033, allocations: 177.9 MB / 0.6035 GB, free: 10.08 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009119/0.7124, allocations: 5.827 MB / 0.6092 GB, free: 4.242 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.7136, allocations: 27.75 kB / 0.6092 GB, free: 4.215 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.7147, allocations: 270.5 kB / 0.6095 GB, free: 3.949 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005059/0.7198, allocations: 1.459 MB / 0.6109 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003692/0.7235, allocations: 1.151 MB / 0.612 GB, free: 1.359 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002592/0.7261, allocations: 1.853 MB / 0.6138 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007958/0.7269, allocations: 462.7 kB / 0.6143 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003155/0.7301, allocations: 1.206 MB / 0.6154 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/0.7317, allocations: 0.7901 MB / 0.6162 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.7318, allocations: 60 kB / 0.6163 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.7338, allocations: 0.7489 MB / 0.617 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003153/0.7342, allocations: 275.2 kB / 0.6173 GB, free: 11.97 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000452/0.7346, allocations: 402.2 kB / 0.6176 GB, free: 11.58 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.7366, allocations: 1.414 MB / 0.619 GB, free: 10.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.7366, allocations: 0 / 0.619 GB, free: 10.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.7366, allocations: 4 kB / 0.619 GB, free: 10.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.7366, allocations: 4 kB / 0.619 GB, free: 10.15 MB / 494.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.002413/0.739, allocations: 1.131 MB / 0.6201 GB, free: 8.969 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.7391, allocations: 19.88 kB / 0.6202 GB, free: 8.949 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.7392, allocations: 94.52 kB / 0.6203 GB, free: 8.848 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007881/0.74, allocations: 131.1 kB / 0.6204 GB, free: 8.719 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007806/0.7408, allocations: 0.5195 MB / 0.6209 GB, free: 8.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.741, allocations: 96.41 kB / 0.621 GB, free: 8.051 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.706e-05/0.7411, allocations: 51.98 kB / 0.621 GB, free: 8 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.7423, allocations: 0.8174 MB / 0.6218 GB, free: 7.109 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.7424, allocations: 7.938 kB / 0.6218 GB, free: 7.102 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.278e-05/0.7424, allocations: 24 kB / 0.6219 GB, free: 7.078 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.216e-05/0.7425, allocations: 36.98 kB / 0.6219 GB, free: 7.043 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.7435, allocations: 0.6166 MB / 0.6225 GB, free: 6.426 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.00509/0.7486, allocations: 3.985 MB / 0.6264 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007119/0.7494, allocations: 355.6 kB / 0.6267 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.7497, allocations: 176.2 kB / 0.6269 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005949/0.7503, allocations: 369.4 kB / 0.6272 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.134e-05/0.7504, allocations: 38.84 kB / 0.6273 GB, free: 1.203 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.384e-06/0.7504, allocations: 0 / 0.6273 GB, free: 1.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.2661/1.016, allocations: 1.659 MB / 0.6289 GB, free: 158.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/1.017, allocations: 136.7 kB / 0.629 GB, free: 158.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008369/1.017, allocations: 0.6114 MB / 0.6296 GB, free: 158.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/1.017, allocations: 35.55 kB / 0.6297 GB, free: 158.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/1.018, allocations: 365.7 kB / 0.63 GB, free: 158.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.504e-05/1.018, allocations: 145.9 kB / 0.6301 GB, free: 158.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/1.018, allocations: 162 kB / 0.6303 GB, free: 158.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/1.018, allocations: 374.2 kB / 0.6307 GB, free: 157.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/1.019, allocations: 199.6 kB / 0.6308 GB, free: 157.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005149/1.019, allocations: 0.5196 MB / 0.6314 GB, free: 157.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008797/1.02, allocations: 0.7381 MB / 0.6321 GB, free: 157.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.02, allocations: 3.453 kB / 0.6321 GB, free: 157.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001363/1.021, allocations: 0.8809 MB / 0.6329 GB, free: 157 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.021, allocations: 12.31 kB / 0.633 GB, free: 157 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/1.021, allocations: 8.719 kB / 0.633 GB, free: 157 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/1.023, allocations: 312.3 kB / 0.6333 GB, free: 157 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004239/1.023, allocations: 132.2 kB / 0.6334 GB, free: 157 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/1.024, allocations: 0.9265 MB / 0.6343 GB, free: 156.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006397/1.025, allocations: 42.48 kB / 0.6343 GB, free: 156.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/1.025, allocations: 66.14 kB / 0.6344 GB, free: 156.5 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.000366/1.026, allocations: 249.8 kB / 0.6346 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/1.026, allocations: 66.83 kB / 0.6347 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/1.027, allocations: 0.6842 MB / 0.6354 GB, free: 156 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/1.027, allocations: 7.469 kB / 0.6354 GB, free: 156 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/1.027, allocations: 0 / 0.6354 GB, free: 156 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/1.027, allocations: 7.266 kB / 0.6354 GB, free: 156 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/1.03, allocations: 1.612 MB / 0.637 GB, free: 155 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.03, allocations: 0 / 0.637 GB, free: 155 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/1.031, allocations: 203.2 kB / 0.6371 GB, free: 155 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.857e-05/1.031, allocations: 31.75 kB / 0.6372 GB, free: 155 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/1.031, allocations: 25.97 kB / 0.6372 GB, free: 155 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/1.033, allocations: 2.87 MB / 0.64 GB, free: 152.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.033, allocations: 2.594 kB / 0.64 GB, free: 152.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/1.034, allocations: 0.8116 MB / 0.6408 GB, free: 151.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/1.034, allocations: 193 kB / 0.641 GB, free: 151.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.088e-05/1.034, allocations: 11.56 kB / 0.641 GB, free: 151.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/1.035, allocations: 25.62 kB / 0.641 GB, free: 151.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/1.035, allocations: 43.47 kB / 0.6411 GB, free: 151.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-05/1.035, allocations: 41 kB / 0.6411 GB, free: 151.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005382/1.035, allocations: 447.6 kB / 0.6415 GB, free: 151.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.035, allocations: 0 / 0.6415 GB, free: 151.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001235/1.037, allocations: 296.7 kB / 0.6418 GB, free: 151.3 MB / 494.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.0023/1.039, allocations: 1.595 MB / 0.6434 GB, free: 150.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00131/1.04, allocations: 0.6044 MB / 0.644 GB, free: 150.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.04, allocations: 0 / 0.644 GB, free: 150.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009548/1.041, allocations: 424.3 kB / 0.6444 GB, free: 150 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/1.043, allocations: 372.8 kB / 0.6447 GB, free: 149.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009033/1.052, allocations: 6.715 MB / 0.6513 GB, free: 145.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/1.053, allocations: 0.9287 MB / 0.6522 GB, free: 145 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001169/1.054, allocations: 259.3 kB / 0.6524 GB, free: 144.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005037/1.054, allocations: 273.6 kB / 0.6527 GB, free: 144.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.082e-06/1.054, allocations: 0 / 0.6527 GB, free: 144.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1354/1.19, allocations: 24.99 MB / 0.6771 GB, free: 138.7 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003001/1.19, allocations: 307.5 kB / 0.6774 GB, free: 138.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.707/3.897, allocations: 11.94 kB / 0.6774 GB, free: 138.3 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 & /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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches