Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.Air,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",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.000797/0.000797, allocations: 95.02 kB / 17.35 MB, free: 6.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.0008296/0.0008296, allocations: 168.3 kB / 18.25 MB, free: 5.508 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.287/1.287, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1891/0.1891, allocations: 44.25 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003002/0.0003003, allocations: 8 kB / 410.5 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1246, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.458/0.5826, allocations: 170.3 MB / 0.6276 GB, free: 8.137 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008216/0.5909, allocations: 5.406 MB / 0.6329 GB, free: 2.719 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009868/0.5919, allocations: 23.81 kB / 0.6329 GB, free: 2.695 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.593, allocations: 278.5 kB / 0.6332 GB, free: 2.422 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003562/0.5966, allocations: 1.127 MB / 0.6343 GB, free: 1.297 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002492/0.5991, allocations: 0.8591 MB / 0.6351 GB, free: 456 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003263/0.6024, allocations: 2.718 MB / 0.6378 GB, free: 13.72 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000853/0.6033, allocations: 389.9 kB / 0.6381 GB, free: 13.34 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002521/0.6058, allocations: 0.9535 MB / 0.6391 GB, free: 12.38 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.6072, allocations: 0.6812 MB / 0.6397 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002537/0.6075, allocations: 32 kB / 0.6398 GB, free: 11.66 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.6091, allocations: 0.5343 MB / 0.6403 GB, free: 11.13 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004076/0.6095, allocations: 235.3 kB / 0.6405 GB, free: 10.9 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007171/0.6103, allocations: 395.9 kB / 0.6409 GB, free: 10.5 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002164/0.6124, allocations: 1.258 MB / 0.6421 GB, free: 9.242 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.6125, allocations: 7.938 kB / 0.6421 GB, free: 9.234 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.6125, allocations: 0 / 0.6421 GB, free: 9.234 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.553e-05/0.6125, allocations: 0 / 0.6421 GB, free: 9.234 MB / 478.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.0024/0.6149, allocations: 0.9526 MB / 0.6431 GB, free: 8.23 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.615, allocations: 11.97 kB / 0.6431 GB, free: 8.219 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002647/0.6152, allocations: 102.2 kB / 0.6432 GB, free: 8.113 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.6162, allocations: 131.1 kB / 0.6433 GB, free: 7.984 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.6174, allocations: 0.5118 MB / 0.6438 GB, free: 7.434 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.6175, allocations: 108.4 kB / 0.6439 GB, free: 7.312 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.6176, allocations: 44 kB / 0.6439 GB, free: 7.27 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.619, allocations: 0.8174 MB / 0.6447 GB, free: 6.379 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.6191, allocations: 4 kB / 0.6447 GB, free: 6.375 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.482e-05/0.6192, allocations: 27.98 kB / 0.6448 GB, free: 6.348 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-05/0.6192, allocations: 44.91 kB / 0.6448 GB, free: 6.305 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.6204, allocations: 0.6204 MB / 0.6454 GB, free: 5.684 MB / 478.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.004884/0.6253, allocations: 3.965 MB / 0.6493 GB, free: 1.461 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005686/0.6259, allocations: 347.7 kB / 0.6496 GB, free: 1.113 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.6262, allocations: 173.3 kB / 0.6498 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.6263, allocations: 89.39 kB / 0.6499 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.6264, allocations: 34.84 kB / 0.6499 GB, free: 0.793 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.853e-06/0.6264, allocations: 4 kB / 0.6499 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005916/0.6323, allocations: 1.673 MB / 0.6515 GB, free: 15.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.6324, allocations: 140.4 kB / 0.6517 GB, free: 14.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009027/0.6334, allocations: 0.6132 MB / 0.6523 GB, free: 14.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-05/0.6334, allocations: 33.7 kB / 0.6523 GB, free: 14.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/0.6338, allocations: 362.9 kB / 0.6526 GB, free: 13.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.634, allocations: 150 kB / 0.6528 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.6341, allocations: 61.69 kB / 0.6528 GB, free: 13.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.6343, allocations: 378.7 kB / 0.6532 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003881/0.6347, allocations: 205.9 kB / 0.6534 GB, free: 13.06 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006578/0.6354, allocations: 0.5125 MB / 0.6539 GB, free: 12.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.6365, allocations: 0.7523 MB / 0.6546 GB, free: 11.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.6365, allocations: 0 / 0.6546 GB, free: 11.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001645/0.6381, allocations: 0.8876 MB / 0.6555 GB, free: 10.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.6382, allocations: 12 kB / 0.6555 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/0.6382, allocations: 8 kB / 0.6555 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/0.6396, allocations: 313 kB / 0.6558 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/0.64, allocations: 131.7 kB / 0.6559 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.6412, allocations: 0.9296 MB / 0.6569 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006092/0.6418, allocations: 47.95 kB / 0.6569 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.81e-05/0.6419, allocations: 63.98 kB / 0.657 GB, free: 9.09 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.0004316/0.6424, allocations: 257.9 kB / 0.6572 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.6425, allocations: 71.19 kB / 0.6573 GB, free: 8.758 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001841/0.6444, allocations: 0.8635 MB / 0.6581 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.6444, allocations: 4 kB / 0.6581 GB, free: 7.875 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.6444, allocations: 4 kB / 0.6581 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.6444, allocations: 0 / 0.6581 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.6466, allocations: 1.458 MB / 0.6596 GB, free: 6.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.6466, allocations: 192 / 0.6596 GB, free: 6.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.6476, allocations: 211.8 kB / 0.6598 GB, free: 6.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.494e-05/0.6478, allocations: 28.83 kB / 0.6598 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.755e-05/0.6478, allocations: 16 kB / 0.6598 GB, free: 6.023 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002026/0.6498, allocations: 2.691 MB / 0.6624 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/0.6499, allocations: 4 kB / 0.6624 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.6511, allocations: 0.8129 MB / 0.6632 GB, free: 2.215 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003053/0.6515, allocations: 200.2 kB / 0.6634 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.6516, allocations: 8 kB / 0.6634 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004462/0.652, allocations: 35.98 kB / 0.6635 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.6521, allocations: 39.89 kB / 0.6635 GB, free: 1.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-05/0.6522, allocations: 43.98 kB / 0.6635 GB, free: 1.875 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005742/0.6528, allocations: 439 kB / 0.664 GB, free: 1.449 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6528, allocations: 0 / 0.664 GB, free: 1.449 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001026/0.6538, allocations: 260 kB / 0.6642 GB, free: 1.195 MB / 494.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 (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.002274/0.6561, allocations: 1.556 MB / 0.6657 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.6573, allocations: 0.543 MB / 0.6663 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6573, allocations: 0 / 0.6663 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009891/0.6583, allocations: 427.3 kB / 0.6667 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/0.6602, allocations: 338.8 kB / 0.667 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009641/0.6698, allocations: 6.836 MB / 0.6737 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000626/0.6705, allocations: 0.93 MB / 0.6746 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001347/0.6718, allocations: 473 kB / 0.675 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005517/0.6724, allocations: 283.3 kB / 0.6753 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.6724, allocations: 0 / 0.6753 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04513/0.7175, allocations: 23.19 MB / 0.6979 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000292/0.7179, allocations: 315 kB / 0.6982 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.413/3.131, allocations: 0 / 0.6982 GB, free: 14.14 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches