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.001834/0.001834, allocations: 106.5 kB / 16.41 MB, free: 6.508 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.002046/0.002046, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.413/1.413, 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.2252/0.2252, allocations: 43.53 MB / 314.1 MB, free: 452 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.001998/0.001998, allocations: 69.45 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1132, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4477/0.5609, allocations: 179.7 MB / 0.6629 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0132/0.5741, allocations: 8.177 MB / 0.6709 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.5752, allocations: 19.88 kB / 0.6709 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.5766, allocations: 321.9 kB / 0.6712 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005715/0.5823, allocations: 1.482 MB / 0.6727 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003619/0.586, allocations: 1.146 MB / 0.6738 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002726/0.5887, allocations: 1.849 MB / 0.6756 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007328/0.5895, allocations: 461.3 kB / 0.676 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002832/0.5923, allocations: 1.227 MB / 0.6772 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.5934, allocations: 0.654 MB / 0.6779 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.5935, allocations: 64 kB / 0.6779 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.5956, allocations: 0.823 MB / 0.6787 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003336/0.5959, allocations: 267.3 kB / 0.679 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00053/0.5965, allocations: 402.1 kB / 0.6794 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.5988, allocations: 1.417 MB / 0.6808 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.5988, allocations: 0 / 0.6808 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.017e-06/0.5988, allocations: 3.984 kB / 0.6808 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.5989, allocations: 0 / 0.6808 GB, free: 4.73 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.002439/0.6013, allocations: 1.156 MB / 0.6819 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.6014, allocations: 15.89 kB / 0.6819 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001386/0.6015, allocations: 102.5 kB / 0.682 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008238/0.6023, allocations: 135.5 kB / 0.6821 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009319/0.6033, allocations: 0.5395 MB / 0.6827 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.6034, allocations: 104.4 kB / 0.6828 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.193e-05/0.6035, allocations: 48 kB / 0.6828 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.6048, allocations: 0.8097 MB / 0.6836 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.6048, allocations: 11.92 kB / 0.6836 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.518e-05/0.6049, allocations: 27.98 kB / 0.6836 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.083e-05/0.605, allocations: 36.97 kB / 0.6837 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.606, allocations: 0.6166 MB / 0.6843 GB, free: 0.9492 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.004775/0.6108, allocations: 3.993 MB / 0.6882 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00061/0.6115, allocations: 351.6 kB / 0.6885 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/0.6118, allocations: 173.3 kB / 0.6887 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004738/0.6122, allocations: 361.5 kB / 0.689 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.6123, allocations: 38.84 kB / 0.6891 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/0.6123, allocations: 0 / 0.6891 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005608/0.6179, allocations: 1.68 MB / 0.6907 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.618, allocations: 140.4 kB / 0.6908 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000796/0.6188, allocations: 0.6133 MB / 0.6914 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.6189, allocations: 41.64 kB / 0.6915 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.6192, allocations: 367.9 kB / 0.6918 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.6193, allocations: 158.7 kB / 0.692 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/0.6196, allocations: 150.6 kB / 0.6921 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.6198, allocations: 378.8 kB / 0.6925 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/0.6202, allocations: 193.9 kB / 0.6927 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007042/0.6209, allocations: 0.5202 MB / 0.6932 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.622, allocations: 0.7524 MB / 0.6939 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.622, allocations: 4 kB / 0.6939 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001469/0.6235, allocations: 0.88 MB / 0.6948 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.6235, allocations: 12 kB / 0.6948 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.6235, allocations: 8 kB / 0.6948 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.6249, allocations: 318.1 kB / 0.6951 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.6253, allocations: 115.8 kB / 0.6952 GB, free: 5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.6266, allocations: 0.9308 MB / 0.6961 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.6271, allocations: 31.98 kB / 0.6961 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.6272, allocations: 68 kB / 0.6962 GB, free: 3.945 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.0003932/0.6276, allocations: 245.6 kB / 0.6964 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.6278, allocations: 72.08 kB / 0.6965 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.6292, allocations: 0.6946 MB / 0.6972 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.6292, allocations: 4 kB / 0.6972 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6292, allocations: 4 kB / 0.6972 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.6292, allocations: 3.984 kB / 0.6972 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.6315, allocations: 1.599 MB / 0.6988 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.6315, allocations: 0 / 0.6988 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.6326, allocations: 215.9 kB / 0.699 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.515e-05/0.6326, allocations: 20.84 kB / 0.699 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/0.6327, allocations: 19.98 kB / 0.699 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002364/0.6351, allocations: 2.881 MB / 0.7018 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.6351, allocations: 8.016 kB / 0.7018 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.6364, allocations: 0.813 MB / 0.7026 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002958/0.6367, allocations: 196.6 kB / 0.7028 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.343e-05/0.6368, allocations: 12 kB / 0.7028 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.6372, allocations: 24.05 kB / 0.7028 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-05/0.6373, allocations: 31.97 kB / 0.7029 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.066e-05/0.6374, allocations: 47.91 kB / 0.7029 GB, free: 12.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005546/0.638, allocations: 439 kB / 0.7033 GB, free: 12.13 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.638, allocations: 0 / 0.7033 GB, free: 12.13 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009623/0.6389, allocations: 295.6 kB / 0.7036 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.002361/0.6413, allocations: 1.608 MB / 0.7052 GB, free: 10.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001215/0.6425, allocations: 0.5661 MB / 0.7057 GB, free: 9.637 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.6426, allocations: 0 / 0.7057 GB, free: 9.637 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.6436, allocations: 407.1 kB / 0.7061 GB, free: 9.227 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.6453, allocations: 377.7 kB / 0.7065 GB, free: 8.863 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009051/0.6543, allocations: 6.311 MB / 0.7126 GB, free: 2.156 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/0.655, allocations: 0.9261 MB / 0.7136 GB, free: 1.203 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008841/0.6559, allocations: 262 kB / 0.7138 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004891/0.6564, allocations: 275.3 kB / 0.7141 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of SimCode: time 9.72e-07/0.6564, allocations: 0 / 0.7141 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0638/0.7202, allocations: 25.41 MB / 0.7389 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.03, allocations: 4 kB / 0.7389 GB, free: 7.23 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