Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_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.001596/0.001596, allocations: 106.4 kB / 17.77 MB, free: 5.273 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.001516/0.001516, allocations: 187.9 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2053/0.2053, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 59.91 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3585, allocations: 60.83 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1937/0.5522, allocations: 150.1 MB / 0.6651 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006811/0.5591, allocations: 5.143 MB / 0.6701 GB, free: 260 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.5593, allocations: 4 kB / 0.6701 GB, free: 256 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003684/0.5597, allocations: 59.61 kB / 0.6701 GB, free: 196 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004473/0.5642, allocations: 1.199 MB / 0.6713 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.5647, allocations: 143.6 kB / 0.6715 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007341/0.5654, allocations: 394.1 kB / 0.6718 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.68e-05/0.5655, allocations: 9.688 kB / 0.6718 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003805/0.5659, allocations: 175.3 kB / 0.672 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004021/0.5663, allocations: 167.4 kB / 0.6722 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.799e-05/0.5664, allocations: 8 kB / 0.6722 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002357/0.5687, allocations: 1.018 MB / 0.6732 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.5689, allocations: 47.75 kB / 0.6732 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.5691, allocations: 107.5 kB / 0.6733 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.5712, allocations: 0.842 MB / 0.6741 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.5712, allocations: 4 kB / 0.6741 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5712, allocations: 0 / 0.6741 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.5713, allocations: 0 / 0.6741 GB, free: 12.1 MB / 0.5294 GB 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.001594/0.5729, allocations: 0.6827 MB / 0.6748 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.5729, allocations: 8.031 kB / 0.6748 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.249e-05/0.573, allocations: 66.72 kB / 0.6749 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007348/0.5804, allocations: 0.5858 MB / 0.6755 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006147/0.581, allocations: 263.1 kB / 0.6757 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.5812, allocations: 127.4 kB / 0.6758 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.5813, allocations: 24 kB / 0.6759 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.5826, allocations: 0.5634 MB / 0.6764 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.5826, allocations: 0 / 0.6764 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.174e-05/0.5827, allocations: 12 kB / 0.6764 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/0.5827, allocations: 8 kB / 0.6764 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.5843, allocations: 0.6338 MB / 0.677 GB, free: 8.973 MB / 0.5294 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.002332/0.5866, allocations: 1.713 MB / 0.6787 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.587, allocations: 154.5 kB / 0.6789 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.5872, allocations: 72.83 kB / 0.6789 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007966/0.588, allocations: 0.7082 MB / 0.6796 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.588, allocations: 30.56 kB / 0.6796 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 1.733e-06/0.588, allocations: 0 / 0.6796 GB, free: 6.027 MB / 0.5294 GB 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=17): time 0.001098/0.5891, allocations: 319.4 kB / 0.68 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.5892, allocations: 55.41 kB / 0.68 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.5894, allocations: 198.9 kB / 0.6802 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.5895, allocations: 29.7 kB / 0.6802 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.5896, allocations: 187.2 kB / 0.6804 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.5897, allocations: 59.19 kB / 0.6805 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.5898, allocations: 105.9 kB / 0.6806 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5899, allocations: 326.8 kB / 0.6809 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.5901, allocations: 64.7 kB / 0.6809 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.5904, allocations: 259.8 kB / 0.6812 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/0.5909, allocations: 372.6 kB / 0.6815 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.5909, allocations: 4 kB / 0.6815 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006576/0.5916, allocations: 369.4 kB / 0.6819 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.5916, allocations: 19.81 kB / 0.6819 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5916, allocations: 8 kB / 0.6819 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.5917, allocations: 8 kB / 0.6819 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.5921, allocations: 123.9 kB / 0.682 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004069/0.5925, allocations: 0.6018 MB / 0.6826 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.5927, allocations: 47.62 kB / 0.6827 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/0.5928, allocations: 43.98 kB / 0.6827 GB, free: 2.613 MB / 0.5294 GB 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.0001323/0.5929, allocations: 145.7 kB / 0.6829 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.039e-05/0.593, allocations: 15.81 kB / 0.6829 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007663/0.5938, allocations: 433 kB / 0.6833 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.5938, allocations: 4 kB / 0.6833 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5938, allocations: 0 / 0.6833 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.5938, allocations: 3.984 kB / 0.6833 GB, free: 2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008673/0.5947, allocations: 0.6344 MB / 0.6839 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5947, allocations: 7.938 kB / 0.6839 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.5949, allocations: 55.91 kB / 0.684 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.5949, allocations: 7.938 kB / 0.684 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.595, allocations: 11.94 kB / 0.684 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003097/0.5953, allocations: 0.5899 MB / 0.6846 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.5953, allocations: 7.969 kB / 0.6846 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.5956, allocations: 296.3 kB / 0.6849 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.5958, allocations: 108.8 kB / 0.685 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.5958, allocations: 7.984 kB / 0.685 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.5961, allocations: 11.94 kB / 0.685 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.5961, allocations: 15.92 kB / 0.685 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.5961, allocations: 23.98 kB / 0.685 GB, free: 60 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001259/0.5963, allocations: 136.2 kB / 0.6852 GB, free: 15.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5963, allocations: 4 kB / 0.6852 GB, free: 15.92 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006043/0.5969, allocations: 156 kB / 0.6853 GB, free: 15.77 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.001021/0.5979, allocations: 0.9633 MB / 0.6862 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004837/0.5984, allocations: 220.2 kB / 0.6865 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5984, allocations: 0 / 0.6865 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.5986, allocations: 89.27 kB / 0.6865 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005144/0.5991, allocations: 64.02 kB / 0.6866 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/0.6027, allocations: 2.842 MB / 0.6894 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.603, allocations: 0.7206 MB / 0.6901 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006325/0.6036, allocations: 389.2 kB / 0.6905 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.6038, allocations: 99.34 kB / 0.6905 GB, free: 10.04 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.6039, allocations: 0 / 0.6905 GB, free: 10.04 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/0.6302, allocations: 7.454 MB / 0.6978 GB, free: 2.727 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.95, allocations: 9.844 kB / 0.6978 GB, free: 2.727 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches