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.001146/0.001146, allocations: 102.1 kB / 16.27 MB, free: 5.973 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.001188/0.001188, allocations: 188.6 kB / 17.19 MB, free: 5.605 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.351/1.351, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2237/0.2237, allocations: 43.51 MB / 313.9 MB, free: 0.5391 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.001708/0.001708, allocations: 65.75 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1075, allocations: 57.78 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4367/0.5443, allocations: 151.3 MB / 0.5781 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007923/0.5523, allocations: 6.98 MB / 0.5849 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002306/0.5526, allocations: 6.781 kB / 0.5849 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.553, allocations: 53.16 kB / 0.585 GB, free: 11.9 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004199/0.5572, allocations: 1.432 MB / 0.5864 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.5575, allocations: 144.5 kB / 0.5865 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005398/0.5581, allocations: 396.4 kB / 0.5869 GB, free: 11.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.148e-05/0.5581, allocations: 13.31 kB / 0.5869 GB, free: 11.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.5584, allocations: 165.5 kB / 0.587 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.5587, allocations: 171.6 kB / 0.5872 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/0.5587, allocations: 13.84 kB / 0.5872 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.5612, allocations: 1.142 MB / 0.5883 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.784e-05/0.5613, allocations: 49.14 kB / 0.5884 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.5615, allocations: 109.4 kB / 0.5885 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.5637, allocations: 0.9586 MB / 0.5894 GB, free: 10.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.5637, allocations: 3.984 kB / 0.5894 GB, free: 10.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5637, allocations: 0 / 0.5894 GB, free: 10.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.5637, allocations: 0 / 0.5894 GB, free: 10.41 MB / 430.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.001745/0.5655, allocations: 0.7191 MB / 0.5901 GB, free: 9.859 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.73e-05/0.5656, allocations: 11.67 kB / 0.5901 GB, free: 9.855 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.5657, allocations: 58.8 kB / 0.5902 GB, free: 9.812 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008134/0.5738, allocations: 0.5908 MB / 0.5908 GB, free: 9.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005073/0.5744, allocations: 265.5 kB / 0.591 GB, free: 9.328 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.5745, allocations: 124.8 kB / 0.5911 GB, free: 9.199 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.502e-05/0.5746, allocations: 22.59 kB / 0.5912 GB, free: 9.199 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.5758, allocations: 0.5608 MB / 0.5917 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.5758, allocations: 4 kB / 0.5917 GB, free: 8.914 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.966e-05/0.5759, allocations: 9.594 kB / 0.5917 GB, free: 8.914 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.5759, allocations: 6.812 kB / 0.5917 GB, free: 8.914 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.5774, allocations: 0.6272 MB / 0.5923 GB, free: 8.746 MB / 430.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.002372/0.5798, allocations: 1.661 MB / 0.594 GB, free: 7.344 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.5802, allocations: 151.4 kB / 0.5941 GB, free: 7.305 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.5804, allocations: 77.58 kB / 0.5942 GB, free: 7.285 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001546/0.5819, allocations: 1.307 MB / 0.5955 GB, free: 6.047 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.582, allocations: 40.16 kB / 0.5955 GB, free: 6.004 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.894e-06/0.582, allocations: 0 / 0.5955 GB, free: 6.004 MB / 430.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.001089/0.5831, allocations: 328.2 kB / 0.5958 GB, free: 5.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.5831, allocations: 60.3 kB / 0.5959 GB, free: 5.844 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.5833, allocations: 183.2 kB / 0.596 GB, free: 5.715 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.5834, allocations: 31.92 kB / 0.5961 GB, free: 5.684 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.5835, allocations: 191.8 kB / 0.5963 GB, free: 5.516 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.858e-05/0.5835, allocations: 64.69 kB / 0.5963 GB, free: 5.473 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.5837, allocations: 96.48 kB / 0.5964 GB, free: 5.438 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5838, allocations: 324.5 kB / 0.5967 GB, free: 5.121 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.5839, allocations: 67.23 kB / 0.5968 GB, free: 5.109 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.5842, allocations: 263.8 kB / 0.597 GB, free: 4.836 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004696/0.5847, allocations: 371.2 kB / 0.5974 GB, free: 4.535 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5847, allocations: 2.531 kB / 0.5974 GB, free: 4.535 MB / 430.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006279/0.5853, allocations: 373 kB / 0.5977 GB, free: 4.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.5854, allocations: 14.52 kB / 0.5978 GB, free: 4.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.5854, allocations: 7.406 kB / 0.5978 GB, free: 4.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.5854, allocations: 14.09 kB / 0.5978 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.5858, allocations: 123.5 kB / 0.5979 GB, free: 4.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004429/0.5863, allocations: 0.6026 MB / 0.5985 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.5865, allocations: 49.14 kB / 0.5985 GB, free: 3.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/0.5866, allocations: 42.83 kB / 0.5986 GB, free: 3.75 MB / 430.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.000168/0.5868, allocations: 155.9 kB / 0.5987 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.638e-05/0.5868, allocations: 17.72 kB / 0.5987 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007343/0.5876, allocations: 292.3 kB / 0.599 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.5876, allocations: 6.703 kB / 0.599 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5876, allocations: 0 / 0.599 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5876, allocations: 0 / 0.599 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006946/0.5883, allocations: 0.5178 MB / 0.5995 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5883, allocations: 2.531 kB / 0.5995 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.5886, allocations: 54.58 kB / 0.5996 GB, free: 3.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.5886, allocations: 6.688 kB / 0.5996 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.5886, allocations: 8.25 kB / 0.5996 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004204/0.589, allocations: 0.599 MB / 0.6002 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.589, allocations: 2.25 kB / 0.6002 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.5894, allocations: 274.8 kB / 0.6004 GB, free: 2.258 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.5896, allocations: 116.5 kB / 0.6006 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.612e-05/0.5897, allocations: 6.188 kB / 0.6006 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.5899, allocations: 12.36 kB / 0.6006 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.59, allocations: 11.73 kB / 0.6006 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.59, allocations: 23.98 kB / 0.6006 GB, free: 2.121 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.5902, allocations: 137 kB / 0.6007 GB, free: 2.035 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5902, allocations: 4 kB / 0.6007 GB, free: 2.031 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007608/0.5909, allocations: 183.5 kB / 0.6009 GB, free: 2.008 MB / 430.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.001353/0.5923, allocations: 1.019 MB / 0.6019 GB, free: 1.219 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005587/0.5929, allocations: 233.4 kB / 0.6021 GB, free: 1.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5929, allocations: 0 / 0.6021 GB, free: 1.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.5931, allocations: 86.33 kB / 0.6022 GB, free: 1.141 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005558/0.5936, allocations: 66.5 kB / 0.6023 GB, free: 1.117 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005797/0.5995, allocations: 4.089 MB / 0.6063 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.5999, allocations: 0.7173 MB / 0.607 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000648/0.6006, allocations: 109.9 kB / 0.6071 GB, free: 13.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.6008, allocations: 79.83 kB / 0.6072 GB, free: 13.81 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.6008, allocations: 0 / 0.6072 GB, free: 13.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.6321, allocations: 8.345 MB / 0.6153 GB, free: 8.094 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.01, allocations: 16 kB / 0.6153 GB, free: 8.078 MB / 446.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches