Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 103.6 kB / 16.4 MB, free: 6.484 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.001139/0.001139, allocations: 185.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.202/0.202, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 61.47 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.1008, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4338/0.5346, allocations: 179.7 MB / 0.6629 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01045/0.5451, allocations: 8.177 MB / 0.6709 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006983/0.5458, allocations: 19.88 kB / 0.6709 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.5469, allocations: 321.9 kB / 0.6712 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003966/0.5509, allocations: 1.479 MB / 0.6727 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.5538, allocations: 1.147 MB / 0.6738 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00289/0.5567, allocations: 1.849 MB / 0.6756 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.5578, allocations: 460.9 kB / 0.676 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004023/0.5618, allocations: 1.242 MB / 0.6772 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.5635, allocations: 0.6501 MB / 0.6779 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002571/0.5638, allocations: 64 kB / 0.6779 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002897/0.5667, allocations: 0.8347 MB / 0.6787 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005172/0.5673, allocations: 255.3 kB / 0.679 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007923/0.5681, allocations: 402.2 kB / 0.6794 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002175/0.5703, allocations: 1.418 MB / 0.6808 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5703, allocations: 0 / 0.6808 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5703, allocations: 0 / 0.6808 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.968e-05/0.5703, allocations: 4 kB / 0.6808 GB, free: 4.633 MB / 0.5137 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.002627/0.573, allocations: 1.13 MB / 0.6819 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.573, allocations: 11.89 kB / 0.6819 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001656/0.5732, allocations: 106.4 kB / 0.682 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008685/0.574, allocations: 131.1 kB / 0.6821 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009272/0.575, allocations: 0.5353 MB / 0.6826 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.5751, allocations: 108.3 kB / 0.6827 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.971e-05/0.5752, allocations: 44 kB / 0.6828 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.5764, allocations: 0.8136 MB / 0.6836 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.5764, allocations: 3.938 kB / 0.6836 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.344e-05/0.5765, allocations: 27.98 kB / 0.6836 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.057e-05/0.5766, allocations: 36.98 kB / 0.6836 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.5776, allocations: 0.6243 MB / 0.6842 GB, free: 0.8828 MB / 0.5137 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.00473/0.5823, allocations: 3.977 MB / 0.6881 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005592/0.5829, allocations: 363.2 kB / 0.6885 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.5832, allocations: 169.8 kB / 0.6886 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004187/0.5836, allocations: 361.4 kB / 0.689 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.5837, allocations: 38.84 kB / 0.689 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.963e-06/0.5837, allocations: 0 / 0.689 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005419/0.5891, allocations: 1.674 MB / 0.6906 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.665e-05/0.5892, allocations: 144.5 kB / 0.6908 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007484/0.59, allocations: 0.6055 MB / 0.6914 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.885e-05/0.59, allocations: 37.7 kB / 0.6914 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/0.5903, allocations: 362.9 kB / 0.6918 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.5905, allocations: 146 kB / 0.6919 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002443/0.5907, allocations: 158.5 kB / 0.692 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.5909, allocations: 374.8 kB / 0.6924 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.5913, allocations: 201.8 kB / 0.6926 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006392/0.592, allocations: 0.5163 MB / 0.6931 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.593, allocations: 0.7524 MB / 0.6938 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.593, allocations: 0 / 0.6938 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001587/0.5946, allocations: 0.8798 MB / 0.6947 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.5947, allocations: 8 kB / 0.6947 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.5947, allocations: 12 kB / 0.6947 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001315/0.596, allocations: 310 kB / 0.695 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.5964, allocations: 119.8 kB / 0.6951 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.5976, allocations: 0.9346 MB / 0.696 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005219/0.5981, allocations: 31.98 kB / 0.6961 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.75e-05/0.5982, allocations: 60 kB / 0.6961 GB, free: 3.922 MB / 0.5294 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.0003416/0.5985, allocations: 257.5 kB / 0.6964 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.5987, allocations: 63.81 kB / 0.6964 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.6, allocations: 0.6791 MB / 0.6971 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.6, allocations: 4 kB / 0.6971 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.6, allocations: 4 kB / 0.6971 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.6, allocations: 15.91 kB / 0.6971 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002241/0.6023, allocations: 1.607 MB / 0.6987 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.6023, allocations: 3.984 kB / 0.6987 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.6033, allocations: 207.9 kB / 0.6989 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.768e-05/0.6034, allocations: 20.84 kB / 0.6989 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.59e-05/0.6035, allocations: 23.98 kB / 0.6989 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002229/0.6057, allocations: 2.877 MB / 0.7017 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6057, allocations: 0 / 0.7017 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.607, allocations: 0.8088 MB / 0.7025 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003117/0.6074, allocations: 192.2 kB / 0.7027 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.6075, allocations: 8 kB / 0.7027 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/0.6079, allocations: 24.05 kB / 0.7027 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.918e-05/0.608, allocations: 35.95 kB / 0.7028 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-05/0.6081, allocations: 47.92 kB / 0.7028 GB, free: 12.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000516/0.6086, allocations: 435 kB / 0.7032 GB, free: 12.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6086, allocations: 0 / 0.7032 GB, free: 12.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000921/0.6095, allocations: 292 kB / 0.7035 GB, free: 11.84 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.002374/0.6119, allocations: 1.62 MB / 0.7051 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001115/0.613, allocations: 0.5587 MB / 0.7056 GB, free: 9.629 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.6131, allocations: 7.938 kB / 0.7057 GB, free: 9.621 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009893/0.6141, allocations: 406.4 kB / 0.706 GB, free: 9.211 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/0.6159, allocations: 376 kB / 0.7064 GB, free: 8.852 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008434/0.6243, allocations: 6.296 MB / 0.7125 GB, free: 2.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.6249, allocations: 0.9261 MB / 0.7135 GB, free: 1.207 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008105/0.6257, allocations: 262 kB / 0.7137 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004637/0.6262, allocations: 275.3 kB / 0.714 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of SimCode: time 1.152e-06/0.6262, allocations: 0 / 0.714 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05914/0.6853, allocations: 25.71 MB / 0.7391 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.4, allocations: 15.98 kB / 0.7391 GB, free: 6.926 MB / 0.5762 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches