Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.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.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_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.0006692/0.0006694, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000841/0.000841, allocations: 183.1 kB / 16.92 MB, free: 6.688 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.456/1.456, allocations: 205.4 MB / 223.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3252/0.3252, allocations: 43.58 MB / 315 MB, free: 9.078 MB / 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.0004968/0.0004969, allocations: 12 kB / 384.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1238, allocations: 58.86 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3614/0.4853, allocations: 147.2 MB / 0.5769 GB, free: 8.141 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009293/0.4946, allocations: 7.051 MB / 0.5838 GB, free: 1.105 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/0.4948, allocations: 3.938 kB / 0.5838 GB, free: 1.102 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.4952, allocations: 35.8 kB / 0.5838 GB, free: 1.066 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003886/0.499, allocations: 1.259 MB / 0.585 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.4994, allocations: 135.4 kB / 0.5852 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006426/0.5001, allocations: 467 kB / 0.5856 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.807e-05/0.5001, allocations: 20.33 kB / 0.5856 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003448/0.5005, allocations: 171.3 kB / 0.5858 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003387/0.5008, allocations: 175.4 kB / 0.586 GB, free: 14.87 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.5009, allocations: 8 kB / 0.586 GB, free: 14.86 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002262/0.5031, allocations: 1.158 MB / 0.5871 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.5032, allocations: 47.75 kB / 0.5872 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.5034, allocations: 137.2 kB / 0.5873 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001882/0.5053, allocations: 0.9667 MB / 0.5882 GB, free: 12.55 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5053, allocations: 0 / 0.5882 GB, free: 12.55 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5053, allocations: 0 / 0.5882 GB, free: 12.55 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.5053, allocations: 0 / 0.5882 GB, free: 12.55 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001418/0.5068, allocations: 0.6515 MB / 0.5889 GB, free: 11.85 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.5068, allocations: 11.97 kB / 0.5889 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.062e-05/0.5069, allocations: 67.28 kB / 0.5889 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00752/0.5144, allocations: 0.5913 MB / 0.5895 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.5149, allocations: 260.1 kB / 0.5898 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.5151, allocations: 131.8 kB / 0.5899 GB, free: 10.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.5152, allocations: 24 kB / 0.5899 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.5164, allocations: 0.5556 MB / 0.5905 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.5164, allocations: 3.938 kB / 0.5905 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.562e-05/0.5165, allocations: 12 kB / 0.5905 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.5166, allocations: 8 kB / 0.5905 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.518, allocations: 0.6337 MB / 0.5911 GB, free: 9.465 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.002079/0.5201, allocations: 1.629 MB / 0.5927 GB, free: 7.715 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.5204, allocations: 162.5 kB / 0.5928 GB, free: 7.547 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.5206, allocations: 73.42 kB / 0.5929 GB, free: 7.473 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001392/0.522, allocations: 1.31 MB / 0.5942 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.522, allocations: 42.56 kB / 0.5942 GB, free: 5.926 MB / 462.1 MB Notification: Performance of pre-optimization done (n=18): time 1.884e-06/0.522, allocations: 0 / 0.5942 GB, free: 5.926 MB / 462.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.001061/0.5231, allocations: 339.1 kB / 0.5946 GB, free: 5.594 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.5231, allocations: 63.34 kB / 0.5946 GB, free: 5.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.5233, allocations: 187.3 kB / 0.5948 GB, free: 5.324 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.5234, allocations: 29.7 kB / 0.5948 GB, free: 5.289 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.5235, allocations: 179.3 kB / 0.595 GB, free: 5.109 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.761e-05/0.5236, allocations: 67.08 kB / 0.5951 GB, free: 5.043 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.5236, allocations: 37.7 kB / 0.5951 GB, free: 5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5237, allocations: 326.8 kB / 0.5954 GB, free: 4.672 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.5239, allocations: 72.7 kB / 0.5955 GB, free: 4.602 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.5242, allocations: 259.8 kB / 0.5957 GB, free: 4.254 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/0.5247, allocations: 371.4 kB / 0.5961 GB, free: 3.797 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.5247, allocations: 4 kB / 0.5961 GB, free: 3.793 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006361/0.5253, allocations: 365.4 kB / 0.5964 GB, free: 3.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.5254, allocations: 12.19 kB / 0.5964 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.5254, allocations: 8 kB / 0.5965 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.5254, allocations: 16.56 kB / 0.5965 GB, free: 3.395 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/0.5258, allocations: 119.8 kB / 0.5966 GB, free: 3.277 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003724/0.5262, allocations: 0.6055 MB / 0.5972 GB, free: 2.648 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.5265, allocations: 43.53 kB / 0.5972 GB, free: 2.605 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.5265, allocations: 48.08 kB / 0.5973 GB, free: 2.559 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001484/0.5267, allocations: 149.6 kB / 0.5974 GB, free: 2.402 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.5267, allocations: 16.5 kB / 0.5974 GB, free: 2.387 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007506/0.5275, allocations: 305.9 kB / 0.5977 GB, free: 2.082 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.5275, allocations: 4 kB / 0.5977 GB, free: 2.078 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.5275, allocations: 0 / 0.5977 GB, free: 2.078 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.5275, allocations: 3.984 kB / 0.5977 GB, free: 2.074 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007096/0.5282, allocations: 0.5274 MB / 0.5982 GB, free: 1.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5283, allocations: 0 / 0.5982 GB, free: 1.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.5285, allocations: 59.89 kB / 0.5983 GB, free: 1.422 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5285, allocations: 0 / 0.5983 GB, free: 1.422 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.5285, allocations: 8 kB / 0.5983 GB, free: 1.414 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003171/0.5288, allocations: 0.5978 MB / 0.5989 GB, free: 0.793 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.5289, allocations: 4.031 kB / 0.5989 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.5292, allocations: 261.8 kB / 0.5991 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.5293, allocations: 128.9 kB / 0.5993 GB, free: 372 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.5294, allocations: 7.984 kB / 0.5993 GB, free: 364 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.5296, allocations: 8.781 kB / 0.5993 GB, free: 356 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.5297, allocations: 11.98 kB / 0.5993 GB, free: 344 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.5297, allocations: 15.98 kB / 0.5993 GB, free: 328 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001307/0.5298, allocations: 144.2 kB / 0.5994 GB, free: 184 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5298, allocations: 3.938 kB / 0.5994 GB, free: 180 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007425/0.5306, allocations: 192 kB / 0.5996 GB, free: 15.98 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.001311/0.5319, allocations: 1.02 MB / 0.6006 GB, free: 14.94 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004934/0.5324, allocations: 221.4 kB / 0.6008 GB, free: 14.72 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5324, allocations: 4.062 kB / 0.6008 GB, free: 14.72 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.5326, allocations: 75.89 kB / 0.6009 GB, free: 14.64 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.5332, allocations: 70.38 kB / 0.601 GB, free: 14.58 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00542/0.5386, allocations: 4.189 MB / 0.6051 GB, free: 10.11 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.539, allocations: 0.7285 MB / 0.6058 GB, free: 9.359 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005835/0.5396, allocations: 102.8 kB / 0.6059 GB, free: 9.262 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.5397, allocations: 81.47 kB / 0.606 GB, free: 9.184 MB / 478.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5398, allocations: 0 / 0.606 GB, free: 9.184 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.5614, allocations: 8.002 MB / 0.6138 GB, free: 1.246 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000269/0.5617, allocations: 288.3 kB / 0.614 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.122/2.684, allocations: 0 / 0.614 GB, free: 0.8711 MB / 478.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches