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.001605/0.001605, allocations: 109.7 kB / 16.27 MB, free: 6.41 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.001766/0.001766, allocations: 191.1 kB / 17.2 MB, free: 5.953 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.656/1.656, 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.2317/0.2317, allocations: 43.53 MB / 314 MB, free: 0.5234 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.001466/0.001466, allocations: 64.23 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1174, allocations: 57.79 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4344/0.5519, allocations: 151.3 MB / 0.5781 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007705/0.5596, allocations: 6.976 MB / 0.5849 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.5598, allocations: 1.812 kB / 0.5849 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.5601, allocations: 56.56 kB / 0.585 GB, free: 11.87 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003986/0.5641, allocations: 1.437 MB / 0.5864 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.5645, allocations: 151.1 kB / 0.5865 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004694/0.5649, allocations: 390.4 kB / 0.5869 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.517e-05/0.565, allocations: 13.19 kB / 0.5869 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.5652, allocations: 165.8 kB / 0.587 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.5655, allocations: 180.4 kB / 0.5872 GB, free: 11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.5656, allocations: 7.375 kB / 0.5872 GB, free: 11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.5678, allocations: 1.141 MB / 0.5883 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.98e-05/0.5678, allocations: 49.86 kB / 0.5884 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.568, allocations: 108.7 kB / 0.5885 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.5694, allocations: 0.9556 MB / 0.5894 GB, free: 10.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.5694, allocations: 3.984 kB / 0.5894 GB, free: 10.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5694, allocations: 0 / 0.5894 GB, free: 10.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.5694, allocations: 0 / 0.5894 GB, free: 10.38 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.001288/0.5707, allocations: 0.7219 MB / 0.5901 GB, free: 9.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.5708, allocations: 14.23 kB / 0.5901 GB, free: 9.816 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.918e-05/0.5709, allocations: 58.92 kB / 0.5902 GB, free: 9.773 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007784/0.5786, allocations: 0.5882 MB / 0.5908 GB, free: 9.531 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006045/0.5793, allocations: 267.5 kB / 0.591 GB, free: 9.289 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.5795, allocations: 126.7 kB / 0.5912 GB, free: 9.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-05/0.5796, allocations: 19.44 kB / 0.5912 GB, free: 9.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.5808, allocations: 0.5585 MB / 0.5917 GB, free: 8.879 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.5808, allocations: 0 / 0.5917 GB, free: 8.879 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-05/0.5809, allocations: 16.5 kB / 0.5917 GB, free: 8.875 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.5809, allocations: 4.562 kB / 0.5917 GB, free: 8.875 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.5823, allocations: 0.6295 MB / 0.5924 GB, free: 8.707 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.001972/0.5843, allocations: 1.657 MB / 0.594 GB, free: 7.305 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.5846, allocations: 151 kB / 0.5941 GB, free: 7.266 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.5847, allocations: 77.92 kB / 0.5942 GB, free: 7.246 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001289/0.586, allocations: 1.313 MB / 0.5955 GB, free: 6.004 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.5861, allocations: 36.41 kB / 0.5955 GB, free: 5.965 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.5861, allocations: 0 / 0.5955 GB, free: 5.965 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.001029/0.5871, allocations: 333.5 kB / 0.5958 GB, free: 5.871 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.5872, allocations: 57.8 kB / 0.5959 GB, free: 5.805 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.5873, allocations: 183 kB / 0.5961 GB, free: 5.676 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.5874, allocations: 31.86 kB / 0.5961 GB, free: 5.645 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.5875, allocations: 190.2 kB / 0.5963 GB, free: 5.477 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/0.5875, allocations: 65.78 kB / 0.5963 GB, free: 5.434 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.5877, allocations: 89.67 kB / 0.5964 GB, free: 5.402 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5878, allocations: 335.3 kB / 0.5967 GB, free: 5.078 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.5879, allocations: 67.14 kB / 0.5968 GB, free: 5.066 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.5882, allocations: 259.4 kB / 0.597 GB, free: 4.797 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004904/0.5887, allocations: 368.8 kB / 0.5974 GB, free: 4.496 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.5887, allocations: 3.031 kB / 0.5974 GB, free: 4.496 MB / 430.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006313/0.5894, allocations: 373.5 kB / 0.5978 GB, free: 4.371 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.5894, allocations: 11.77 kB / 0.5978 GB, free: 4.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.5894, allocations: 11.91 kB / 0.5978 GB, free: 4.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/0.5894, allocations: 13.44 kB / 0.5978 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/0.5899, allocations: 117 kB / 0.5979 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004206/0.5903, allocations: 0.6046 MB / 0.5985 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.5906, allocations: 43 kB / 0.5985 GB, free: 3.719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.862e-05/0.5906, allocations: 45.83 kB / 0.5986 GB, free: 3.715 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.0001579/0.5908, allocations: 152.4 kB / 0.5987 GB, free: 3.582 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.5909, allocations: 18.53 kB / 0.5987 GB, free: 3.574 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007461/0.5916, allocations: 299.4 kB / 0.599 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.5916, allocations: 6.891 kB / 0.599 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5916, allocations: 0 / 0.599 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5917, allocations: 0 / 0.599 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007455/0.5924, allocations: 0.5191 MB / 0.5995 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5924, allocations: 2.875 kB / 0.5995 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.5926, allocations: 54.55 kB / 0.5996 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.5926, allocations: 2.719 kB / 0.5996 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.5927, allocations: 5.875 kB / 0.5996 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003183/0.593, allocations: 0.6017 MB / 0.6002 GB, free: 2.418 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.593, allocations: 2.812 kB / 0.6002 GB, free: 2.418 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003434/0.5934, allocations: 275.5 kB / 0.6005 GB, free: 2.223 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.5935, allocations: 114 kB / 0.6006 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.5935, allocations: 9.906 kB / 0.6006 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.5938, allocations: 12.14 kB / 0.6006 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.5938, allocations: 11.77 kB / 0.6006 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.5939, allocations: 23.27 kB / 0.6006 GB, free: 2.086 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.594, allocations: 134.9 kB / 0.6007 GB, free: 2 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.594, allocations: 2.062 kB / 0.6007 GB, free: 2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006647/0.5947, allocations: 188.4 kB / 0.6009 GB, free: 1.973 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.001312/0.596, allocations: 1.009 MB / 0.6019 GB, free: 1.191 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005558/0.5965, allocations: 232.9 kB / 0.6021 GB, free: 1.133 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5966, allocations: 2.812 kB / 0.6021 GB, free: 1.133 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.5968, allocations: 89.53 kB / 0.6022 GB, free: 1.109 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005273/0.5973, allocations: 66.67 kB / 0.6023 GB, free: 1.086 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/0.6028, allocations: 4.082 MB / 0.6063 GB, free: 14.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.6033, allocations: 0.7273 MB / 0.607 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006338/0.6039, allocations: 107.5 kB / 0.6071 GB, free: 13.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.6041, allocations: 78.39 kB / 0.6072 GB, free: 13.78 MB / 446.1 MB Notification: Performance of SimCode: time 1.343e-06/0.6041, allocations: 0 / 0.6072 GB, free: 13.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.6331, allocations: 8.352 MB / 0.6153 GB, free: 8.078 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.17, allocations: 11.88 kB / 0.6153 GB, free: 8.066 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 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.csv","/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