Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001143/0.001143, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001601/0.001601, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2545/0.2545, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 79.59 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1129, allocations: 62.44 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3823/0.4952, allocations: 177.3 MB / 0.642 GB, free: 1.828 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008696/0.504, allocations: 5.331 MB / 0.6472 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.5054, allocations: 19.88 kB / 0.6472 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.5067, allocations: 314 kB / 0.6475 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004168/0.5109, allocations: 1.264 MB / 0.6488 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003125/0.5141, allocations: 0.9613 MB / 0.6497 GB, free: 9.938 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002667/0.5168, allocations: 1.856 MB / 0.6515 GB, free: 8.078 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000799/0.5176, allocations: 457.6 kB / 0.652 GB, free: 7.625 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002512/0.5201, allocations: 1.074 MB / 0.653 GB, free: 6.547 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.5213, allocations: 0.6617 MB / 0.6537 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001869/0.5215, allocations: 64 kB / 0.6537 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.5229, allocations: 0.5735 MB / 0.6543 GB, free: 5.246 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003251/0.5233, allocations: 267.3 kB / 0.6545 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000598/0.5239, allocations: 402.2 kB / 0.6549 GB, free: 4.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.5259, allocations: 1.289 MB / 0.6562 GB, free: 3.297 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5259, allocations: 0 / 0.6562 GB, free: 3.297 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.5259, allocations: 4 kB / 0.6562 GB, free: 3.293 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.803e-05/0.5259, allocations: 0 / 0.6562 GB, free: 3.293 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.0024/0.5283, allocations: 1.103 MB / 0.6573 GB, free: 2.137 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.5284, allocations: 8.031 kB / 0.6573 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/0.5285, allocations: 98.52 kB / 0.6574 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008799/0.5294, allocations: 139.1 kB / 0.6575 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000786/0.5302, allocations: 0.504 MB / 0.658 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-05/0.5303, allocations: 104.4 kB / 0.6581 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.313e-05/0.5304, allocations: 52 kB / 0.6581 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.5317, allocations: 0.8136 MB / 0.6589 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.5317, allocations: 3.938 kB / 0.6589 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.76e-05/0.5318, allocations: 27.98 kB / 0.659 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.786e-05/0.5319, allocations: 40.98 kB / 0.659 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.5331, allocations: 0.6243 MB / 0.6596 GB, free: 15.59 MB / 0.4981 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.004543/0.5376, allocations: 3.955 MB / 0.6635 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005445/0.5382, allocations: 354 kB / 0.6638 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.5384, allocations: 177.3 kB / 0.664 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.5386, allocations: 85.39 kB / 0.6641 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.5386, allocations: 38.84 kB / 0.6641 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.674e-06/0.5386, allocations: 0 / 0.6641 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.005783/0.5444, allocations: 1.667 MB / 0.6657 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.298e-05/0.5445, allocations: 140.5 kB / 0.6659 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007219/0.5452, allocations: 0.6094 MB / 0.6665 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.472e-05/0.5453, allocations: 37.7 kB / 0.6665 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.5455, allocations: 370.8 kB / 0.6668 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.5457, allocations: 146 kB / 0.667 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.5459, allocations: 162.5 kB / 0.6671 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.546, allocations: 370.8 kB / 0.6675 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/0.5464, allocations: 202.4 kB / 0.6677 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005977/0.547, allocations: 0.5163 MB / 0.6682 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009872/0.548, allocations: 0.7475 MB / 0.6689 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.548, allocations: 4 kB / 0.6689 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001534/0.5496, allocations: 0.8921 MB / 0.6698 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.5496, allocations: 8 kB / 0.6698 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.5496, allocations: 20.06 kB / 0.6698 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.5511, allocations: 301.8 kB / 0.6701 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.5515, allocations: 127.8 kB / 0.6702 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.5527, allocations: 0.9309 MB / 0.6711 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000558/0.5533, allocations: 24 kB / 0.6712 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.414e-05/0.5534, allocations: 71.98 kB / 0.6712 GB, free: 2.941 MB / 0.4981 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.0003741/0.5538, allocations: 241.8 kB / 0.6715 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.554, allocations: 71.16 kB / 0.6715 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/0.5558, allocations: 0.8626 MB / 0.6724 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.5559, allocations: 8 kB / 0.6724 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.5559, allocations: 3.938 kB / 0.6724 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.5559, allocations: 3.984 kB / 0.6724 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/0.5584, allocations: 1.461 MB / 0.6738 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.5584, allocations: 3.984 kB / 0.6738 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.5596, allocations: 207.8 kB / 0.674 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001233/0.5597, allocations: 20.78 kB / 0.674 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.665e-05/0.5598, allocations: 23.98 kB / 0.6741 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002328/0.5621, allocations: 2.886 MB / 0.6769 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.5621, allocations: 0 / 0.6769 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.5635, allocations: 0.8208 MB / 0.6777 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004613/0.564, allocations: 180.3 kB / 0.6779 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/0.5642, allocations: 15.98 kB / 0.6779 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000643/0.5648, allocations: 16 kB / 0.6779 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.565, allocations: 43.95 kB / 0.6779 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/0.5652, allocations: 43.98 kB / 0.678 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006566/0.5658, allocations: 439 kB / 0.6784 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5658, allocations: 0 / 0.6784 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001035/0.5669, allocations: 252 kB / 0.6786 GB, free: 10.88 MB / 0.5137 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.002431/0.5693, allocations: 1.57 MB / 0.6802 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001399/0.5707, allocations: 0.5904 MB / 0.6807 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.541e-05/0.5708, allocations: 8 kB / 0.6807 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.5718, allocations: 422.2 kB / 0.6811 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/0.5738, allocations: 375.2 kB / 0.6815 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009682/0.5835, allocations: 6.548 MB / 0.6879 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/0.5841, allocations: 0.93 MB / 0.6888 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001359/0.5854, allocations: 466.4 kB / 0.6893 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005502/0.586, allocations: 290.8 kB / 0.6895 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of SimCode: time 8.61e-07/0.586, allocations: 3.938 kB / 0.6895 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2526/0.8387, allocations: 24.12 MB / 0.7131 GB, free: 199.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/13.1, allocations: 7.281 kB / 0.7131 GB, free: 199.2 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_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_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p