Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",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.00126/0.00126, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001242/0.001242, allocations: 192 kB / 18.56 MB, free: 4.434 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.353/1.353, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.1994/0.1994, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 71.94 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1129, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3704/0.4833, allocations: 147.6 MB / 0.6025 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007624/0.491, allocations: 5.59 MB / 0.6079 GB, free: 7.441 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007445/0.4918, allocations: 19.88 kB / 0.608 GB, free: 7.422 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.4929, allocations: 322 kB / 0.6083 GB, free: 7.105 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002409/0.4953, allocations: 0.8589 MB / 0.6091 GB, free: 6.242 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.4983, allocations: 1.024 MB / 0.6101 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002279/0.5005, allocations: 1.79 MB / 0.6118 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006352/0.5012, allocations: 473.7 kB / 0.6123 GB, free: 2.973 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.5023, allocations: 0.7513 MB / 0.613 GB, free: 2.219 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.5034, allocations: 0.7047 MB / 0.6137 GB, free: 1.512 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.5035, allocations: 71.94 kB / 0.6138 GB, free: 1.441 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.5048, allocations: 0.5303 MB / 0.6143 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002972/0.5052, allocations: 275.2 kB / 0.6146 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004775/0.5056, allocations: 394.2 kB / 0.6149 GB, free: 260 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.5071, allocations: 1.126 MB / 0.616 GB, free: 15.12 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5072, allocations: 0 / 0.616 GB, free: 15.12 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5072, allocations: 4 kB / 0.6161 GB, free: 15.12 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.5072, allocations: 0 / 0.6161 GB, free: 15.12 MB / 462.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.002055/0.5093, allocations: 1.06 MB / 0.6171 GB, free: 14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.5093, allocations: 8.031 kB / 0.6171 GB, free: 14 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.5094, allocations: 98.64 kB / 0.6172 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003411/0.5098, allocations: 92.08 kB / 0.6173 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007144/0.5105, allocations: 0.5131 MB / 0.6178 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.5106, allocations: 101 kB / 0.6179 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.424e-05/0.5107, allocations: 52.36 kB / 0.6179 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.5119, allocations: 0.8188 MB / 0.6187 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.5119, allocations: 0 / 0.6187 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.72e-05/0.512, allocations: 20 kB / 0.6187 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.653e-05/0.512, allocations: 36.98 kB / 0.6188 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.5131, allocations: 0.6556 MB / 0.6194 GB, free: 11.49 MB / 462.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.00434/0.5174, allocations: 3.975 MB / 0.6233 GB, free: 7.234 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007923/0.5182, allocations: 430 kB / 0.6237 GB, free: 6.805 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.5186, allocations: 205.4 kB / 0.6239 GB, free: 6.602 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005996/0.5192, allocations: 0.7327 MB / 0.6246 GB, free: 5.703 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.5192, allocations: 39.22 kB / 0.6247 GB, free: 5.656 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.435e-06/0.5192, allocations: 0 / 0.6247 GB, free: 5.656 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003165/0.5224, allocations: 1.554 MB / 0.6262 GB, free: 4.031 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.677e-05/0.5225, allocations: 132.5 kB / 0.6263 GB, free: 3.871 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006353/0.5231, allocations: 0.5693 MB / 0.6269 GB, free: 3.293 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.5232, allocations: 37.7 kB / 0.6269 GB, free: 3.25 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.5234, allocations: 358.9 kB / 0.6272 GB, free: 2.895 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.5236, allocations: 157.7 kB / 0.6274 GB, free: 2.738 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.5237, allocations: 142.5 kB / 0.6275 GB, free: 2.594 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5239, allocations: 374.8 kB / 0.6279 GB, free: 2.219 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.5243, allocations: 213.9 kB / 0.6281 GB, free: 2.008 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/0.5248, allocations: 0.5123 MB / 0.6286 GB, free: 1.359 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009078/0.5257, allocations: 0.764 MB / 0.6293 GB, free: 476 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.5257, allocations: 4 kB / 0.6293 GB, free: 472 kB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001611/0.5274, allocations: 0.9103 MB / 0.6302 GB, free: 15.54 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.5274, allocations: 11.94 kB / 0.6302 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.5274, allocations: 19.92 kB / 0.6303 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001356/0.5288, allocations: 287.5 kB / 0.6305 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.5291, allocations: 123.8 kB / 0.6306 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009331/0.5301, allocations: 0.8877 MB / 0.6315 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.5305, allocations: 31.92 kB / 0.6315 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.745e-05/0.5306, allocations: 32 kB / 0.6316 GB, free: 14.13 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0002946/0.5309, allocations: 257.5 kB / 0.6318 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.531, allocations: 67.23 kB / 0.6319 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.5322, allocations: 0.7674 MB / 0.6326 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.5323, allocations: 8 kB / 0.6326 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.5323, allocations: 4 kB / 0.6326 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.5323, allocations: 7.922 kB / 0.6327 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.5341, allocations: 1.4 MB / 0.634 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.5341, allocations: 4 kB / 0.634 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.5352, allocations: 211.9 kB / 0.6342 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.948e-05/0.5353, allocations: 20.84 kB / 0.6342 GB, free: 11.26 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.483e-05/0.5353, allocations: 16 kB / 0.6343 GB, free: 11.24 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/0.5372, allocations: 2.877 MB / 0.6371 GB, free: 8.09 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5372, allocations: 0 / 0.6371 GB, free: 8.09 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.5386, allocations: 1.011 MB / 0.6381 GB, free: 7.02 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.5388, allocations: 204.2 kB / 0.6383 GB, free: 6.801 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-05/0.5389, allocations: 8 kB / 0.6383 GB, free: 6.793 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/0.5393, allocations: 23.98 kB / 0.6383 GB, free: 6.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.677e-05/0.5394, allocations: 35.95 kB / 0.6383 GB, free: 6.734 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.463e-05/0.5395, allocations: 23.98 kB / 0.6383 GB, free: 6.711 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004701/0.5399, allocations: 435 kB / 0.6388 GB, free: 6.289 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5399, allocations: 0 / 0.6388 GB, free: 6.289 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007607/0.5407, allocations: 219.9 kB / 0.639 GB, free: 6.074 MB / 478.1 MB 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001951/0.5427, allocations: 1.713 MB / 0.6406 GB, free: 4.305 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001322/0.544, allocations: 0.6655 MB / 0.6413 GB, free: 3.637 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.544, allocations: 0 / 0.6413 GB, free: 3.637 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.545, allocations: 458.4 kB / 0.6417 GB, free: 3.176 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.5467, allocations: 378.2 kB / 0.6421 GB, free: 2.824 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00888/0.5556, allocations: 6.703 MB / 0.6486 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/0.5561, allocations: 0.9346 MB / 0.6495 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007177/0.5568, allocations: 209.4 kB / 0.6497 GB, free: 10.58 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/0.5572, allocations: 239.4 kB / 0.65 GB, free: 10.34 MB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5572, allocations: 0 / 0.65 GB, free: 10.34 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0474/0.6046, allocations: 22.29 MB / 0.6717 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.77, allocations: 4 kB / 0.6717 GB, free: 4.352 MB / 0.4981 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_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_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches