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.001479/0.001479, allocations: 106.4 kB / 17.78 MB, free: 5.289 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.001679/0.001679, allocations: 187.9 kB / 18.7 MB, free: 4.371 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.439/1.439, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2239/0.2239, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 75.88 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4448, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2021/0.6469, allocations: 174.3 MB / 0.6887 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007782/0.6548, allocations: 5.338 MB / 0.6939 GB, free: 7.781 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006665/0.6555, allocations: 19.88 kB / 0.6939 GB, free: 7.762 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009373/0.6565, allocations: 318 kB / 0.6942 GB, free: 7.449 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003521/0.66, allocations: 1.335 MB / 0.6955 GB, free: 6.113 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0029/0.6629, allocations: 1.067 MB / 0.6965 GB, free: 5.051 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002275/0.6652, allocations: 1.844 MB / 0.6983 GB, free: 3.199 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006999/0.6659, allocations: 461.3 kB / 0.6988 GB, free: 2.746 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002514/0.6684, allocations: 1.078 MB / 0.6998 GB, free: 1.664 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.6698, allocations: 0.7509 MB / 0.7006 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.6699, allocations: 60 kB / 0.7006 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.6714, allocations: 0.6242 MB / 0.7012 GB, free: 232 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003004/0.6717, allocations: 259.4 kB / 0.7015 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004194/0.6722, allocations: 406.1 kB / 0.7019 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.6738, allocations: 1.297 MB / 0.7031 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-05/0.6739, allocations: 0 / 0.7031 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6739, allocations: 4 kB / 0.7031 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.6739, allocations: 0 / 0.7031 GB, free: 14.27 MB / 0.5606 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.002234/0.6761, allocations: 1.091 MB / 0.7042 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.6762, allocations: 12.02 kB / 0.7042 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001381/0.6763, allocations: 98.5 kB / 0.7043 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007784/0.6771, allocations: 135.1 kB / 0.7044 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009803/0.6781, allocations: 0.5352 MB / 0.705 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.6782, allocations: 104.4 kB / 0.7051 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.651e-05/0.6783, allocations: 44 kB / 0.7051 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.6795, allocations: 0.8136 MB / 0.7059 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.6796, allocations: 7.938 kB / 0.7059 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.102e-05/0.6797, allocations: 24 kB / 0.7059 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.55e-05/0.6797, allocations: 48.89 kB / 0.706 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009946/0.6807, allocations: 0.6166 MB / 0.7066 GB, free: 10.55 MB / 0.5606 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.004757/0.6855, allocations: 3.965 MB / 0.7105 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006108/0.6861, allocations: 367.5 kB / 0.7108 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.6864, allocations: 173.3 kB / 0.711 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.6865, allocations: 93.38 kB / 0.7111 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.6866, allocations: 38.83 kB / 0.7111 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.425e-06/0.6866, allocations: 0 / 0.7111 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005642/0.6923, allocations: 1.668 MB / 0.7127 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.6924, allocations: 136.5 kB / 0.7129 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000731/0.6931, allocations: 0.6094 MB / 0.7134 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.454e-05/0.6932, allocations: 37.7 kB / 0.7135 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/0.6935, allocations: 366.8 kB / 0.7138 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.6936, allocations: 138.1 kB / 0.714 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.6939, allocations: 162.5 kB / 0.7141 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.694, allocations: 374.8 kB / 0.7145 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.6944, allocations: 201.9 kB / 0.7147 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005584/0.6949, allocations: 0.5163 MB / 0.7152 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009439/0.6959, allocations: 0.7514 MB / 0.7159 GB, free: 288 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.6959, allocations: 0 / 0.7159 GB, free: 288 kB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.3702/1.066, allocations: 0.8793 MB / 0.7168 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.148e-05/1.066, allocations: 9.688 kB / 0.7168 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/1.066, allocations: 9.906 kB / 0.7168 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001555/1.068, allocations: 310.9 kB / 0.7171 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/1.068, allocations: 128 kB / 0.7172 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/1.069, allocations: 0.9302 MB / 0.7181 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000524/1.07, allocations: 28.52 kB / 0.7181 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/1.07, allocations: 63.98 kB / 0.7182 GB, free: 189 MB / 0.5606 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.0003603/1.07, allocations: 248 kB / 0.7184 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/1.07, allocations: 71.09 kB / 0.7185 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/1.072, allocations: 0.8571 MB / 0.7193 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/1.072, allocations: 4.219 kB / 0.7193 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/1.072, allocations: 1.703 kB / 0.7193 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/1.072, allocations: 2.891 kB / 0.7194 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/1.074, allocations: 1.469 MB / 0.7208 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.074, allocations: 2.031 kB / 0.7208 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/1.075, allocations: 211.3 kB / 0.721 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.7e-05/1.075, allocations: 25.28 kB / 0.721 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.747e-05/1.075, allocations: 22.33 kB / 0.721 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/1.077, allocations: 2.875 MB / 0.7238 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.077, allocations: 5.406 kB / 0.7238 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/1.078, allocations: 0.8277 MB / 0.7247 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/1.079, allocations: 191.2 kB / 0.7248 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.148e-05/1.079, allocations: 8.828 kB / 0.7248 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/1.079, allocations: 20.44 kB / 0.7249 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/1.079, allocations: 43.39 kB / 0.7249 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.638e-05/1.079, allocations: 43.25 kB / 0.7249 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006335/1.08, allocations: 441.6 kB / 0.7254 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.92e-07/1.08, allocations: 0 / 0.7254 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001026/1.081, allocations: 252.1 kB / 0.7256 GB, free: 183.9 MB / 0.5606 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.002244/1.083, allocations: 1.548 MB / 0.7271 GB, free: 182.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00125/1.084, allocations: 0.5602 MB / 0.7277 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.084, allocations: 1.219 kB / 0.7277 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/1.085, allocations: 413.4 kB / 0.7281 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/1.087, allocations: 373.7 kB / 0.7284 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008429/1.096, allocations: 6.315 MB / 0.7346 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/1.096, allocations: 0.9335 MB / 0.7355 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001134/1.097, allocations: 464 kB / 0.7359 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004567/1.098, allocations: 281.1 kB / 0.7362 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/1.098, allocations: 0 / 0.7362 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05032/1.148, allocations: 24.7 MB / 0.7603 GB, free: 156 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.63, allocations: 23.52 kB / 0.7604 GB, free: 155.9 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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