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.001219/0.00122, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001166/0.001166, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.326/1.326, allocations: 222.9 MB / 242.4 MB, free: 15.19 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.2045/0.2045, allocations: 44.19 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 67.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3855, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2084/0.5939, allocations: 174.3 MB / 0.6887 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008676/0.6026, allocations: 5.35 MB / 0.6939 GB, free: 7.824 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008937/0.6036, allocations: 19.88 kB / 0.6939 GB, free: 7.805 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.6048, allocations: 314 kB / 0.6942 GB, free: 7.496 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004157/0.609, allocations: 1.327 MB / 0.6955 GB, free: 6.168 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002991/0.612, allocations: 1.063 MB / 0.6965 GB, free: 5.109 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002422/0.6144, allocations: 1.848 MB / 0.6983 GB, free: 3.254 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008349/0.6153, allocations: 465.3 kB / 0.6988 GB, free: 2.797 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002577/0.6179, allocations: 1.074 MB / 0.6998 GB, free: 1.719 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.6195, allocations: 0.7432 MB / 0.7006 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.6197, allocations: 60 kB / 0.7006 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.6214, allocations: 0.6278 MB / 0.7012 GB, free: 296 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004205/0.6219, allocations: 271.2 kB / 0.7015 GB, free: 24 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007403/0.6226, allocations: 394.2 kB / 0.7019 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002403/0.625, allocations: 1.305 MB / 0.7031 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.6251, allocations: 0 / 0.7031 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6251, allocations: 3.938 kB / 0.7031 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.963e-05/0.6251, allocations: 4 kB / 0.7032 GB, free: 14.32 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.002875/0.628, allocations: 1.091 MB / 0.7042 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.6281, allocations: 12.03 kB / 0.7042 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.6282, allocations: 94.52 kB / 0.7043 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009165/0.6292, allocations: 131.1 kB / 0.7044 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.6302, allocations: 0.543 MB / 0.705 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.6304, allocations: 100.4 kB / 0.7051 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.6305, allocations: 51.98 kB / 0.7051 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.6319, allocations: 0.8136 MB / 0.7059 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.6319, allocations: 0 / 0.7059 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.105e-05/0.632, allocations: 24 kB / 0.7059 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.635e-05/0.6321, allocations: 48.86 kB / 0.706 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.6333, allocations: 0.6127 MB / 0.7066 GB, free: 10.61 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.005422/0.6387, allocations: 3.973 MB / 0.7105 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000609/0.6393, allocations: 366.1 kB / 0.7108 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003455/0.6397, allocations: 169.3 kB / 0.711 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.6398, allocations: 97.36 kB / 0.7111 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.914e-05/0.6399, allocations: 38.84 kB / 0.7111 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 4.869e-06/0.6399, allocations: 4 kB / 0.7111 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005761/0.6457, allocations: 1.664 MB / 0.7127 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.017e-05/0.6458, allocations: 132.5 kB / 0.7129 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007863/0.6466, allocations: 0.6094 MB / 0.7135 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.494e-05/0.6467, allocations: 37.7 kB / 0.7135 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000278/0.6469, allocations: 374.8 kB / 0.7138 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.6471, allocations: 138.1 kB / 0.714 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.6473, allocations: 154.5 kB / 0.7141 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.6475, allocations: 378.8 kB / 0.7145 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.6479, allocations: 205.8 kB / 0.7147 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/0.6484, allocations: 0.5086 MB / 0.7152 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009624/0.6494, allocations: 0.7552 MB / 0.7159 GB, free: 344 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.6494, allocations: 4 kB / 0.7159 GB, free: 340 kB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.2597/0.9091, allocations: 0.8724 MB / 0.7168 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/0.9092, allocations: 9.156 kB / 0.7168 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/0.9093, allocations: 13.97 kB / 0.7168 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/0.9108, allocations: 313.2 kB / 0.7171 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/0.9113, allocations: 129 kB / 0.7172 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/0.9124, allocations: 0.9273 MB / 0.7181 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006146/0.913, allocations: 27.48 kB / 0.7181 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.9131, allocations: 68.83 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.0003869/0.9135, allocations: 248 kB / 0.7184 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.9137, allocations: 66 kB / 0.7185 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.9153, allocations: 0.8588 MB / 0.7194 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.9154, allocations: 6.438 kB / 0.7194 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.9154, allocations: 5 kB / 0.7194 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.9154, allocations: 1.969 kB / 0.7194 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.9175, allocations: 1.46 MB / 0.7208 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.9175, allocations: 1.438 kB / 0.7208 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.9186, allocations: 211.1 kB / 0.721 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-05/0.9187, allocations: 23.88 kB / 0.721 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.412e-05/0.9187, allocations: 27.88 kB / 0.721 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.9202, allocations: 2.871 MB / 0.7238 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.9203, allocations: 4.078 kB / 0.7238 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.9216, allocations: 0.8286 MB / 0.7247 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/0.9219, allocations: 190.8 kB / 0.7248 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.922, allocations: 9.156 kB / 0.7248 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/0.9224, allocations: 20.08 kB / 0.7249 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.9226, allocations: 43.48 kB / 0.7249 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.467e-05/0.9226, allocations: 43.47 kB / 0.725 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005836/0.9232, allocations: 439.1 kB / 0.7254 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.11e-07/0.9232, allocations: 0 / 0.7254 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009787/0.9242, allocations: 254.4 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.002218/0.9265, allocations: 1.554 MB / 0.7271 GB, free: 182.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001268/0.9277, allocations: 0.5534 MB / 0.7277 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.9278, allocations: 0 / 0.7277 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000976/0.9287, allocations: 415.7 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.001624/0.9304, allocations: 372.1 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.008613/0.939, allocations: 6.317 MB / 0.7346 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.9394, allocations: 0.93 MB / 0.7355 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001106/0.9405, allocations: 463.3 kB / 0.7359 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004576/0.941, allocations: 288.3 kB / 0.7362 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/0.941, allocations: 0 / 0.7362 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05302/0.9941, allocations: 24.7 MB / 0.7603 GB, free: 156 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.39, allocations: 33.02 kB / 0.7604 GB, free: 156 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